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() {