From 77acc56a1e8730e0890edbf128400cc00854c4a2 Mon Sep 17 00:00:00 2001 From: alexweissman Date: Thu, 26 Oct 2017 13:48:29 -0400 Subject: [PATCH] fix line length to keep jslint happy --- src/js/select2/selection/multiple.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/select2/selection/multiple.js b/src/js/select2/selection/multiple.js index c104e097..45225256 100644 --- a/src/js/select2/selection/multiple.js +++ b/src/js/select2/selection/multiple.js @@ -55,7 +55,9 @@ define([ }; MultipleSelection.prototype.clear = function () { - this.$selection.find('.select2-selection__rendered').empty().removeAttr('title'); + var $rendered = this.$selection.find('.select2-selection__rendered'); + $rendered.empty(); + $rendered.removeAttr('title'); }; MultipleSelection.prototype.display = function (data, container) {