aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-01 00:54:19 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-15 00:38:40 +0200
commitbb49bd794bc8ea4238162725b518fb46234f3cf9 (patch)
treedb7b6152daac9f2c6b5fd051ab5d3b7ec7382791 /demos
parentdaa6fb55b35065c49c0ffc879c94627bbf85404c (diff)
downloadjquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.tar.gz
jquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.zip
All: Drop support for IE & some other browsers (but mostly IE)
Closes gh-2249
Diffstat (limited to 'demos')
-rw-r--r--demos/autocomplete/maxheight.html6
-rw-r--r--demos/bootstrap.js4
-rw-r--r--demos/tooltip/custom-style.html2
3 files changed, 1 insertions, 11 deletions
diff --git a/demos/autocomplete/maxheight.html b/demos/autocomplete/maxheight.html
index 9ebda7938..b8c59819d 100644
--- a/demos/autocomplete/maxheight.html
+++ b/demos/autocomplete/maxheight.html
@@ -13,12 +13,6 @@
/* prevent horizontal scrollbar */
overflow-x: hidden;
}
- /* IE 6 doesn't support max-height
- * we use height instead, but this forces the menu to always be this tall
- */
- * html .ui-autocomplete {
- height: 100px;
- }
</style>
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
diff --git a/demos/bootstrap.js b/demos/bootstrap.js
index 9b0468028..ba1cde2e9 100644
--- a/demos/bootstrap.js
+++ b/demos/bootstrap.js
@@ -2,9 +2,7 @@
( function() {
"use strict";
-// Find the script element
-var scripts = document.getElementsByTagName( "script" );
-var script = scripts[ scripts.length - 1 ];
+var script = document.currentScript;
// Read the modules
var modules = script.getAttribute( "data-modules" );
diff --git a/demos/tooltip/custom-style.html b/demos/tooltip/custom-style.html
index 5cbd4bbd3..8ab8dcc9d 100644
--- a/demos/tooltip/custom-style.html
+++ b/demos/tooltip/custom-style.html
@@ -60,8 +60,6 @@
width: 25px;
height: 25px;
box-shadow: 6px 5px 9px -9px black;
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.arrow.top:after {