app/assets/javascripts/spotlight_search.js in spotlight_search-0.1.1 vs app/assets/javascripts/spotlight_search.js in spotlight_search-0.1.2

- old
+ new

@@ -41,13 +41,10 @@ q = jQuery.param(query_string); window.history.pushState("", "", url + "?" + q); return $('.' + success_replace_class).html(data); }, error: function(jqxhr, textStatus, errorThrown) { - alert(errorThrown); - return $.jGrowl("Whoops! There was an error processing your request. Please contact support!")({ - life: 2000 - }); + console.log(errorThrown, textStatus); } }); }; $(document).on('click', '[data-behaviour="next-page"]', function() {