aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/button.js
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 /ui/widgets/button.js
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 'ui/widgets/button.js')
-rw-r--r--ui/widgets/button.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/widgets/button.js b/ui/widgets/button.js
index 02708d620..08a4b61c5 100644
--- a/ui/widgets/button.js
+++ b/ui/widgets/button.js
@@ -109,9 +109,9 @@ $.widget( "ui.button", {
if ( event.keyCode === $.ui.keyCode.SPACE ) {
event.preventDefault();
- // Support: PhantomJS <= 1.9, IE 8 Only
- // If a native click is available use it so we actually cause navigation
- // otherwise just trigger a click event
+ // If a native click is available use it, so we
+ // actually cause navigation. Otherwise, just trigger
+ // a click event.
if ( this.element[ 0 ].click ) {
this.element[ 0 ].click();
} else {