app/assets/javascripts/multi-select.js in multi-select-rails-0.9.10 vs app/assets/javascripts/multi-select.js in multi-select-rails-0.9.11
- old
+ new
@@ -1,7 +1,7 @@
/*
-* MultiSelect v0.9.10
+* MultiSelect v0.9.11
* Copyright (c) 2012 Louis Cuny
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
@@ -340,9 +340,10 @@
this.$element.multiSelect(this.options);
},
'destroy' : function(){
$("#ms-"+this.$element.attr("id")).remove();
+ this.$element.css('position', '').css('left', '')
this.$element.removeData('multiselect');
},
'select' : function(value, method){
if (typeof value === 'string'){ value = [value]; }