File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ async function transactionInit(transactionBody) {
82
82
}
83
83
}
84
84
85
- export function isMobileDevice ( ) {
85
+ function isMobileDevice ( ) {
86
86
const userAgent = navigator . userAgent || navigator . vendor || window . opera ;
87
87
88
88
// List of common mobile devices and user agents
@@ -101,11 +101,6 @@ export function isMobileDevice() {
101
101
return false ;
102
102
}
103
103
104
- function cleanLocalStorage ( ) {
105
- this . localStorage . removeItem ( "config" ) ;
106
- this . localStorage . removeItem ( "site" ) ;
107
- }
108
-
109
104
/**
110
105
* Main function to initialize and validate the authentication process (ONLY FOR DEVELOPMENT).
111
106
* @async
@@ -218,4 +213,3 @@ document.addEventListener("DOMContentLoaded", () => {
218
213
window . main = main ;
219
214
window . run = run ;
220
215
window . start = start ;
221
- window . isMobileDevice = isMobileDevice ;
You can’t perform that action at this time.
0 commit comments