We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 596cf52 commit bd3bd55Copy full SHA for bd3bd55
1 file changed
select2.js
@@ -1146,12 +1146,11 @@ the specific language governing permissions and limitations under the Apache Lic
1146
// abstract
1147
readonly: function(enabled) {
1148
if (enabled === undefined) enabled = false;
1149
- if (this._readonly === enabled) return false;
+ if (this._readonly === enabled) return;
1150
this._readonly = enabled;
1151
1152
this.opts.element.prop("readonly", enabled);
1153
this.enableInterface();
1154
- return true;
1155
},
1156
1157
0 commit comments