diff --git a/apps/spreadsheeteditor/main/index_internal.html.deploy b/apps/spreadsheeteditor/main/index_internal.html.deploy index 34b7c8dfe1..c7b980e98d 100644 --- a/apps/spreadsheeteditor/main/index_internal.html.deploy +++ b/apps/spreadsheeteditor/main/index_internal.html.deploy @@ -125,7 +125,8 @@ var userAgent = navigator.userAgent.toLowerCase(), check = function(regex){ return regex.test(userAgent); }, stopLoading = false; - if (!check(/opera/) && (check(/msie/) || check(/trident/))) { + var isIEBrowser = !check(/opera/) && (check(/msie/) || check(/trident/)); + if ( isIEBrowser ) { var m = /msie (\d+\.\d+)/.exec(userAgent); if (m && parseFloat(m[1]) < 10.0) { document.write('
' + @@ -239,9 +240,6 @@