aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/button.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-13 18:11:57 +0200
committerGitHub <noreply@github.com>2024-05-13 18:11:57 +0200
commitac8b1e4eee8682e6825730c4823036a90031edad (patch)
tree6a4207cebc3138de51e6ec776e6d36117fd0a665 /ui/widgets/button.js
parent969d182963347830a78b291198f6f183fb65d8e6 (diff)
downloadjquery-ui-ac8b1e4eee8682e6825730c4823036a90031edad.tar.gz
jquery-ui-ac8b1e4eee8682e6825730c4823036a90031edad.zip
Core: Make back compat disabled by default
Closes gh-2250
Diffstat (limited to 'ui/widgets/button.js')
-rw-r--r--ui/widgets/button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/button.js b/ui/widgets/button.js
index c127a6d00..02708d620 100644
--- a/ui/widgets/button.js
+++ b/ui/widgets/button.js
@@ -287,7 +287,7 @@ $.widget( "ui.button", {
} );
// DEPRECATED
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Text and Icons options
$.widget( "ui.button", $.ui.button, {