Переглянути джерело

remove debugging statement

Igor Vaynberg 13 роки тому
батько
коміт
3b9840e3ff
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      select2.js

+ 0 - 1
select2.js

@@ -297,7 +297,6 @@
         return function (query) {
         return function (query) {
             var t = query.term.toUpperCase(), filtered = {results: []};
             var t = query.term.toUpperCase(), filtered = {results: []};
             $(data).each(function () {
             $(data).each(function () {
-                console.log(this);
                 var isObject = "text" in this,
                 var isObject = "text" in this,
                     text = isObject ? this.text : this;
                     text = isObject ? this.text : this;
                 if (t === "" || text.toUpperCase().indexOf(t) >= 0) {
                 if (t === "" || text.toUpperCase().indexOf(t) >= 0) {