summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlou <louiscuny@gmail.com>2013-07-03 14:12:15 +0200
committerlou <louiscuny@gmail.com>2013-07-03 14:12:15 +0200
commit4ba19fd4f9019658b202613a20c5ad0ec6204c75 (patch)
tree846da12bce2a2c1df865e09cf9bdd0836e2b6134
parentc5e7001435354c97869d775a8180b0f1eb8b884f (diff)
downloadmulti-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.js8
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);
});