Use Interop
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| @page "/" | ||||
| @page "/" | ||||
| @namespace Oqtane.Pages | ||||
| @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers | ||||
| @using System.Globalization | ||||
| @ -48,12 +48,6 @@ | ||||
|     @if (Configuration.GetSection("Runtime").Value == "WebAssembly") | ||||
|     { | ||||
|         <script src="_framework/blazor.webassembly.js"></script> | ||||
|         <script> | ||||
|             window.oqtaneCulture = { | ||||
|                 get: () => window.localStorage['OqtaneCulture'], | ||||
|                 set: (value) => window.localStorage['OqtaneCulture'] = value | ||||
|             }; | ||||
|         </script> | ||||
|     } | ||||
|     else | ||||
|     { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 hishamco
					hishamco