Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
remove debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Andre Eikeland committed May 28, 2015
1 parent ef491e6 commit 974802a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/js/thebuggenie/tbg.js
Original file line number Diff line number Diff line change
Expand Up @@ -6344,7 +6344,7 @@ define(['prototype', 'effects', 'controls', 'scriptaculous', 'jquery', 'jquery-u
var url = fif.action;
var parameters = fif.serialize();

var results_loaded = fif.dataset.resultsLoaded != undefined;
var results_loaded = (fif.dataset.resultsLoaded != undefined && fif.dataset.resultsLoaded != '');

if (force == true || results_loaded) {
$('search_sidebar').addClassName('collapsed');
Expand All @@ -6362,7 +6362,6 @@ define(['prototype', 'effects', 'controls', 'scriptaculous', 'jquery', 'jquery-u
complete: {
callback: function (json) {
if (!results_loaded) {
console.log('updating search counts');
TBG.Search.updateSavedSearchCounts();
}
$('findissues_num_results_span').update(json.num_issues);
Expand Down

0 comments on commit 974802a

Please sign in to comment.