From 16e26310e1752da8403d3254b705b3d9043ee8c8 Mon Sep 17 00:00:00 2001 From: Nadim Afana Date: Fri, 6 May 2016 12:28:49 -0700 Subject: [PATCH] Fixed more indentation issues. --- src/js/select2/compat/inputData.js | 2 +- src/js/select2/dropdown/attachBody.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/select2/compat/inputData.js b/src/js/select2/compat/inputData.js index 6352763b..6e1dee26 100644 --- a/src/js/select2/compat/inputData.js +++ b/src/js/select2/compat/inputData.js @@ -117,7 +117,7 @@ define([ }; InputData.prototype.addOptions = function (_, $options) { - var options = $.map($options, function ($option) { + var options = $.map($options, function ($option) { return Utils.GetData($option[0], 'data'); }); diff --git a/src/js/select2/dropdown/attachBody.js b/src/js/select2/dropdown/attachBody.js index eadafe4b..5018a4f0 100644 --- a/src/js/select2/dropdown/attachBody.js +++ b/src/js/select2/dropdown/attachBody.js @@ -93,7 +93,7 @@ define([ Utils.StoreData(this, 'select2-scroll-position', { x: $(this).scrollLeft(), y: $(this).scrollTop() - }); + }); }); $watchers.on(scrollEvent, function (ev) {