Skip to content
Browse files

Update js/widgets/forms/select.custom.js

accidentally swapped true / false
  • Loading branch information...
1 parent 8456f3f commit d66884c86f1ffb8e3427d63d0508036016b7da2d @erikyuzwa erikyuzwa committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/widgets/forms/select.custom.js
View
4 js/widgets/forms/select.custom.js
@@ -106,7 +106,7 @@ define( [
if ( self._origTabIndex === undefined ) {
- var t = self.select[0].getAttribute("tabindex") == null ? true : false;
+ var t = self.select[0].getAttribute("tabindex") == null ? false : true;
self._origTabIndex = undefined;
if(t){
self._origTabIndex = self.select.attr( "tabindex" );
@@ -472,7 +472,7 @@ define( [
// If we have identified a placeholder, record the fact that it was
// us who have added the placeholder to the option and mark it
// retroactively in the select as well
- var t = option.getAttribute(dataPlaceholderAttr) == null ? true : false;
+ var t = option.getAttribute(dataPlaceholderAttr) == null ? false : true;
if ( !t) {
this._removePlaceholderAttr = true;
}

0 comments on commit d66884c

Please sign in to comment.
Something went wrong with that request. Please try again.