From 1b9ec30472c4a7993841829dacda29e98962f285 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 4 Nov 2020 14:38:03 -0800 Subject: [PATCH] Apply workaround for iOS menu bug to next 9 minor versions of iOS Bug: T264376 Change-Id: I569e7dd5eae888de42f81f3973a23fb832b2c942 --- resources/skins.minerva.scripts/setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.minerva.scripts/setup.js b/resources/skins.minerva.scripts/setup.js index 519e1a5d6..b84ef7b4e 100644 --- a/resources/skins.minerva.scripts/setup.js +++ b/resources/skins.minerva.scripts/setup.js @@ -26,7 +26,7 @@ function init() { // This hot fix should be reviewed and possibly removed circa January 2021. // It's assumed that Apple will prioritize fixing this bug in one of its next releases. // See T264376. - if ( navigator.userAgent.match( /OS 14_0/ ) ) { + if ( navigator.userAgent.match( /OS 14_[0-9]/ ) ) { document.body.classList.add( 'hotfix-T264376' ); } }