diff --git a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js index 86643e2549..500b288efd 100644 --- a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js +++ b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js @@ -3966,7 +3966,7 @@ $.fn.fieldcontain = function(/* options */) { //workaround to allow scripts to execute when included in page divs all.innerHTML = html; - page = all.querySelector("*[data-role='page'],*[data-role='dialog']"); + page = all.querySelector("div[data-role='page']"); //if page elem couldn't be found, create one and insert the body element's contents if ( !page ) {