fix sync hash <-> searched words

This commit is contained in:
2014-12-16 20:17:52 +01:00
parent aecfb68117
commit 18de4ed6e0
2 changed files with 1 additions and 2 deletions

1
jquery/databap.js vendored
View File

@@ -35,7 +35,6 @@ function Databap()
self.vars2('focus', true); self.vars2('focus', true);
self.vars2('disconnected', 'boolean'); self.vars2('disconnected', 'boolean');
self.vars2('mode', 'string'); self.vars2('mode', 'string');
self.vars2('search_words', 'string');
self.vars2('initLoaded', 'boolean'); self.vars2('initLoaded', 'boolean');
self.vars2('chans_list', 'object'); self.vars2('chans_list', 'object');

View File

@@ -23,7 +23,7 @@ databap.pageInit = function()
$('#repeat_query') $('#repeat_query')
.addDefaultValue(self.consts.search_box_text, $('#query').val()) .addDefaultValue(self.consts.search_box_text, $('#query').val())
.change(function(){$('#query').val($(this).val());}) .change(function(){$('#query').val($(this).val());})
.keyup(function(e){if(e.which==13 || e.isTrigger) search();}) .keyup(function(e){if(e.which==13 || e.isTrigger) self.goToInternalLink('search', $('#query').val());})
.width('calc(50% - '+$('#sub_button').outerWidth(true)+'px)'); .width('calc(50% - '+$('#sub_button').outerWidth(true)+'px)');
//Init's end //Init's end