summaryrefslogtreecommitdiffstats
path: root/non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2021-03-19 11:03:18 +0100
committerDavid Skoland <david.skoland@qt.io>2021-04-06 07:09:55 +0000
commitfa8945177f6fb313706e854a307566d07cf96317 (patch)
tree1c58a3b969019fde1d32ee5f140e71fde35a97e7 /non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js
parent8198e15cbd690cdca2f134546f11894804dd6af5 (diff)
Delete unused files
bootstrap has been superseded by coin and qtmetrics has been superseded by Grafana. testresults.qt.io has been moved to: https://git.qt.io/qtqa/testresults.qt.io Task-number: QTQAINFRA-1958 Change-Id: I6341b12c21f3566ae645f31927a6e6848e183b08 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js')
-rw-r--r--non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js b/non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js
deleted file mode 100644
index 346636d..0000000
--- a/non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * IE10 viewport hack for Surface/desktop Windows 8 bug
- * Copyright 2014 Twitter, Inc.
- * Licensed under the Creative Commons Attribution 3.0 Unported License. For
- * details, see http://creativecommons.org/licenses/by/3.0/.
- */
-
-// See the Getting Started docs for more information:
-// http://getbootstrap.com/getting-started/#support-ie10-width
-
-(function () {
- 'use strict';
- if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
- var msViewportStyle = document.createElement('style')
- msViewportStyle.appendChild(
- document.createTextNode(
- '@-ms-viewport{width:auto!important}'
- )
- )
- document.querySelector('head').appendChild(msViewportStyle)
- }
-})();