Skip to content

Commit 35f706a

Browse files
committed
fixing minor errors e.g. redefined variable
1 parent ea26634 commit 35f706a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

select2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ the specific language governing permissions and limitations under the Apache Lic
4646
return;
4747
}
4848

49-
var KEY, AbstractSelect2, SingleSelect2, MultiSelect2, nextUid, sizer,
49+
var AbstractSelect2, SingleSelect2, MultiSelect2, nextUid, sizer,
5050
lastMousePosition={x:0,y:0}, $document, scrollBarDimensions,
5151

5252
KEY = {
@@ -1404,7 +1404,7 @@ the specific language governing permissions and limitations under the Apache Lic
14041404

14051405
// create the dropdown mask if doesn't already exist
14061406
mask = $("#select2-drop-mask");
1407-
if (mask.length == 0) {
1407+
if (mask.length === 0) {
14081408
mask = $(document.createElement("div"));
14091409
mask.attr("id","select2-drop-mask").attr("class","select2-drop-mask");
14101410
mask.hide();

0 commit comments

Comments
 (0)