data-role="page" is not working properly #8621
Description
jquery.mobile-1.4.5.min.js:4 Uncaught TypeError: Cannot read property 'concat' of undefined
at jquery.mobile-1.4.5.min.js:4
at jquery.mobile-1.4.5.min.js:4
at jquery.mobile-1.4.5.min.js:3
at jquery.mobile-1.4.5.min.js:3
The error is in line 3337:
mouseEventProps = $.event.props.concat( mouseHookProps ),
My friend try to fix it using:
mouseEventProps =
mouseHookProps == undefined ? [] : mouseHookProps ),
This fix repair the error message related to Concat, but show a new error:
Uncaught TypeError: url.indexOf is not a function
at jQuery.fn.init.jQuery.fn.load (jquery-3.3.1.js:9857)
at jquery.mobile-1.4.5_mod.js:6176
at jquery.mobile-1.4.5_mod.js:6180
at jquery.mobile-1.4.5_mod.js:22
at jquery.mobile-1.4.5_mod.js:24
The error is in line 6176:
$.mobile.window.load( pageIsFullyLoaded );
All of this occurs using jQuery Core - All 3.x Versions.
When I use jQuery Core 2.2.4 the error message "pageIsFullyLoaded" disappears and the data-role="page" began to work properly.