fix sync hash <-> searched words
This commit is contained in:
1
jquery/databap.js
vendored
1
jquery/databap.js
vendored
@@ -35,7 +35,6 @@ function Databap()
|
||||
self.vars2('focus', true);
|
||||
self.vars2('disconnected', 'boolean');
|
||||
self.vars2('mode', 'string');
|
||||
self.vars2('search_words', 'string');
|
||||
self.vars2('initLoaded', 'boolean');
|
||||
self.vars2('chans_list', 'object');
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ databap.pageInit = function()
|
||||
$('#repeat_query')
|
||||
.addDefaultValue(self.consts.search_box_text, $('#query').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)');
|
||||
|
||||
//Init's end
|
||||
|
||||
Reference in New Issue
Block a user