diff --git a/select2.js b/select2.js index 0543aafb..fdd18a71 100644 --- a/select2.js +++ b/select2.js @@ -1151,12 +1151,11 @@ the specific language governing permissions and limitations under the Apache Lic // abstract readonly: function(enabled) { if (enabled === undefined) enabled = false; - if (this._readonly === enabled) return false; + if (this._readonly === enabled) return; this._readonly = enabled; this.opts.element.prop("readonly", enabled); this.enableInterface(); - return true; }, // abstract