From 8278323cad3cd1e818309b3318ed5a458476ef0c Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Sun, 28 Jun 2015 18:37:59 -0400 Subject: [PATCH] Fix jshint errors in search --- src/definitions/modules/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index 5163c9dc5..b50b61e03 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -373,9 +373,9 @@ $.fn.search = function(parameters) { ; }, type: function(type) { - type || settings.type; + type = type || settings.type; if(settings.type == 'category') { - $module.addClass(settings.type) + $module.addClass(settings.type); } }, buttonPressed: function() {