src/pyams_skin/resources/js/ext/jquery-select2-sortable.js
changeset 360 d82289cc9a9b
parent 207 afe6800e94ec
--- a/src/pyams_skin/resources/js/ext/jquery-select2-sortable.js	Thu Jun 28 08:37:52 2018 +0200
+++ b/src/pyams_skin/resources/js/ext/jquery-select2-sortable.js	Fri Jun 29 18:13:34 2018 +0200
@@ -81,7 +81,7 @@
 
 		select2Sortable: function () {
 			var args = Array.prototype.slice.call(arguments, 0);
-			$this = this.filter('[multiple]'),
+			var $this = this.filter('[multiple]'),
 				validMethods = ['destroy'];
 
 			if (args.length === 0 || typeof (args[0]) === 'object') {