diff --git a/src/BootstrapBlazor/wwwroot/modules/data.js b/src/BootstrapBlazor/wwwroot/modules/data.js index b18fa2c89a5..40ae5363280 100644 --- a/src/BootstrapBlazor/wwwroot/modules/data.js +++ b/src/BootstrapBlazor/wwwroot/modules/data.js @@ -1,14 +1,4 @@ -if (typeof (Array.prototype.remove) !== 'function') { - Array.prototype.remove = function(item) { - const index = this.indexOf(item); - if (index > -1) { - this.splice(index, 1); - } - return this; - } -} - -const elementMap = new Map() +const elementMap = new Map() export default { set(element, instance) {