We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2286409 + e62b77d commit d33743bCopy full SHA for d33743b
roles/js-menu/files/menu-files/js/js-menu.js
@@ -228,7 +228,7 @@ function procStatic(){
228
}
229
230
function procMenu() {
231
- if (isMobile || navigator.userAgent.includes('Win64') || navigator.platform == 'MacIntel') {
+ if (isMobile || navigator.userAgent.search('Win64') !== -1 || navigator.platform == 'MacIntel') {
232
var allowed = menuConfig.apache_allow_sudo || false;
233
var desired = menuParams.allow_server_time_update || false;
234
if (allowed && desired)
0 commit comments