mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-21 11:49:54 +00:00
Remove console.log from JS
This commit is contained in:
parent
fb07aa2e85
commit
d667f51599
1 changed files with 0 additions and 4 deletions
|
@ -5,7 +5,6 @@ jQuery(function() {
|
||||||
|
|
||||||
/*** Article Search ***/
|
/*** Article Search ***/
|
||||||
function reset_search() {
|
function reset_search() {
|
||||||
console.log("restoring items");
|
|
||||||
$('#articles li').css({height: 'auto', opacity: 1.0});
|
$('#articles li').css({height: 'auto', opacity: 1.0});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,14 +30,11 @@ jQuery(function() {
|
||||||
if(input.length > 0) {
|
if(input.length > 0) {
|
||||||
// Setup incremental search on Articles pages
|
// Setup incremental search on Articles pages
|
||||||
if('onsearch' in input.get(0)) {
|
if('onsearch' in input.get(0)) {
|
||||||
console.log("Using search event for search");
|
|
||||||
$('#search label').hide();
|
$('#search label').hide();
|
||||||
input.bind("search", function() { refresh_search(this) });
|
input.bind("search", function() { refresh_search(this) });
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Poll the field for its value while it has focus
|
// Poll the field for its value while it has focus
|
||||||
console.log("Using poll mode for search");
|
|
||||||
|
|
||||||
var last_value;
|
var last_value;
|
||||||
input.focus(function() {
|
input.focus(function() {
|
||||||
last_value = input.val();
|
last_value = input.val();
|
||||||
|
|
Loading…
Reference in a new issue