diff options
author | lou <louiscuny@gmail.com> | 2013-07-03 14:12:15 +0200 |
---|---|---|
committer | lou <louiscuny@gmail.com> | 2013-07-03 14:12:15 +0200 |
commit | 4ba19fd4f9019658b202613a20c5ad0ec6204c75 (patch) | |
tree | 846da12bce2a2c1df865e09cf9bdd0836e2b6134 | |
parent | c5e7001435354c97869d775a8180b0f1eb8b884f (diff) | |
download | multi-select-origin/optgroup-refactor.zip multi-select-origin/optgroup-refactor.tar.gz multi-select-origin/optgroup-refactor.tar.bz2 |
remove unused variablesorigin/optgroup-refactor
-rw-r--r-- | js/jquery.multi-select.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js index 7338033..06ee1ea 100644 --- a/js/jquery.multi-select.js +++ b/js/jquery.multi-select.js @@ -43,14 +43,6 @@ ms.attr('id', ms.attr('id') ? ms.attr('id') : Math.ceil(Math.random()*1000)+'multiselect'); this.$container.attr('id', 'ms-'+ms.attr('id')); - var optgroupLabel = null, - optgroupId = null, - optgroupCpt = 0, - optgroupContainerTemplate = '<li class="ms-optgroup-container"></li>', - optgroupUlTemplate = '<ul class="ms-optgroup"></ul>', - optgroupLiTemplate = '<li class="ms-optgroup-label"><span></span></li>'; - - ms.find('option').each(function(){ that.generateLisFromOption(this); }); |