diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index a1ee4a86a..13e9111b8 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -275,24 +275,6 @@ }()); } - if (!Object.keys) { - Object.keys = function ( - o, // object - k, // key - r // result array - ) { - // initialize object and result - r = []; - // iterate over object keys - for (k in o) { - // fill result array with non-prototypical keys - r.hasOwnProperty.call(o, k) && r.push(k); - } - // return result - return r; - }; - } - if (HTMLSelectElement && !HTMLSelectElement.prototype.hasOwnProperty('selectedOptions')) { Object.defineProperty(HTMLSelectElement.prototype, 'selectedOptions', { get: function () {