diff --git a/src/index.js b/src/index.js index 52b8b21..6eaf90f 100644 --- a/src/index.js +++ b/src/index.js @@ -224,10 +224,6 @@ const MetisMenu = (($) => { // eslint-disable-line no-shadow ...typeof config === 'object' && config ? config : {}, }; - if (!data && /dispose/.test(config)) { - this.dispose(); - } - if (!data) { data = new MetisMenu(this, conf); $this.data(DATA_KEY, data);