Skip to content

Commit 77acc56

Browse files
committed
fix line length to keep jslint happy
1 parent 16391c3 commit 77acc56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/js/select2/selection/multiple.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ define([
5555
};
5656

5757
MultipleSelection.prototype.clear = function () {
58-
this.$selection.find('.select2-selection__rendered').empty().removeAttr('title');
58+
var $rendered = this.$selection.find('.select2-selection__rendered');
59+
$rendered.empty();
60+
$rendered.removeAttr('title');
5961
};
6062

6163
MultipleSelection.prototype.display = function (data, container) {

0 commit comments

Comments
 (0)