We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent def8adc commit 8904e42Copy full SHA for 8904e42
1 file changed
select2.js
@@ -1662,7 +1662,7 @@ the specific language governing permissions and limitations under the Apache Lic
1662
this.opts.element.attr("data-placeholder") || // jquery 1.4 compat
1663
this.opts.element.data("placeholder") ||
1664
this.opts.placeholder ||
1665
- ((placeholderOption = this.getPlaceholderOption()) !== undefined && placeholderOption.text());
+ ((placeholderOption = this.getPlaceholderOption()) !== undefined ? placeholderOption.text() : undefined);
1666
},
1667
1668
// abstract
0 commit comments