From ed2621c4825938c3ebb7e588c29059b6d855d3c3 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 29 Sep 2017 08:55:56 -0400 Subject: [PATCH] Indent style fix. --- themes/bootstrap3/js/common.js | 8 ++++---- themes/bootstrap3/js/lib/autocomplete.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/bootstrap3/js/common.js b/themes/bootstrap3/js/common.js index 989b1e6a22c..b58310d703c 100644 --- a/themes/bootstrap3/js/common.js +++ b/themes/bootstrap3/js/common.js @@ -244,7 +244,7 @@ function setupAutocomplete() { // If .autocomplete class is missing, autocomplete is disabled and we should bail out. var searchbox = $('#searchForm_lookfor.autocomplete'); if (searchbox.length < 1) { - return; + return; } var cacheObj = {}; // Search autocomplete @@ -286,9 +286,9 @@ function setupAutocomplete() { // Update autocomplete on type change $('#searchForm_type').change(function searchTypeChange() { for (var i in cacheObj) { - for (var j in cacheObj[i]) { - delete cacheObj[i][j]; - } + for (var j in cacheObj[i]) { + delete cacheObj[i][j]; + } } }); } diff --git a/themes/bootstrap3/js/lib/autocomplete.js b/themes/bootstrap3/js/lib/autocomplete.js index 52c36df0c5c..35ce87424d4 100644 --- a/themes/bootstrap3/js/lib/autocomplete.js +++ b/themes/bootstrap3/js/lib/autocomplete.js @@ -5,7 +5,7 @@ function Factory(_input, settings) { var cache = (typeof(settings) === "object" && typeof(settings.cacheObj) === "object") - ? settings.cacheObj : {}; + ? settings.cacheObj : {}; return (function acClosure() { var input = $(this), options; -- GitLab