diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-09-30 15:38:42 +0200 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-10-08 14:02:58 -0400 |
commit | 6fc2cb3c7c8459c82accc05b2b41d5a909eacec5 (patch) | |
tree | 66a1e3651b82bcdb11c1f454625831918afa4945 /ui | |
parent | 42daa77f908e392698b157372b60977c064fbaa8 (diff) | |
download | jquery-ui-6fc2cb3c7c8459c82accc05b2b41d5a909eacec5.tar.gz jquery-ui-6fc2cb3c7c8459c82accc05b2b41d5a909eacec5.zip |
Controlgroup: Rename excludeInvisible to onlyVisible
Gets rid of the double negative.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/widgets/controlgroup.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/widgets/controlgroup.js b/ui/widgets/controlgroup.js index 4fc348e28..5974d51c9 100644 --- a/ui/widgets/controlgroup.js +++ b/ui/widgets/controlgroup.js @@ -36,7 +36,7 @@ return $.widget( "ui.controlgroup", { options: { direction: "horizontal", disabled: null, - excludeInvisible: true, + onlyVisible: true, items: { "button": "input[type=button], input[type=submit], input[type=reset], button, a", "controlgroupLabel": ".ui-controlgroup-label", @@ -209,7 +209,7 @@ return $.widget( "ui.controlgroup", { children = this.childWidgets; // We filter here because we need to track all childWidgets not just the visible ones - if ( this.options.excludeInvisible ) { + if ( this.options.onlyVisible ) { children = children.filter( ":visible" ); } |