From 7393ad7bea2bfdb0db9aae31bc310248cae0d485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 12 Apr 2010 11:30:23 +0200 Subject: [PATCH] jQuery -> $ --- js/functions.js | 2 +- js/navigation.js | 12 ++++++------ js/update-location.js | 2 +- libraries/footer.inc.php | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/js/functions.js b/js/functions.js index 447d1c648..a9346fe0a 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1719,7 +1719,7 @@ $(document).ready(function(){ $(".sql").html(""+$oldText+""); }); - jQuery('.sqlbutton').click(function(evt){ + $('.sqlbutton').click(function(evt){ insertQuery(evt.target.id); return false; }); diff --git a/js/navigation.js b/js/navigation.js index 2932105a2..391b77d68 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -177,17 +177,17 @@ function fast_filter(value){ * Clears fast filter. */ function clear_fast_filter() { - var elm = jQuery('#NavFilter input'); + var elm = $('#NavFilter input'); elm.val(''); fast_filter(''); elm.focus(); } /* Performed on load */ -jQuery(document).ready(function(){ +$(document).ready(function(){ /* Display filter */ - jQuery('#NavFilter').css('display', 'inline'); - jQuery('#clear_fast_filter').click(clear_fast_filter); - jQuery('#fast_filter').focus(function (evt) {evt.target.select();}); - jQuery('#fast_filter').keyup(function (evt) {fast_filter(evt.target.value);}); + $('#NavFilter').css('display', 'inline'); + $('#clear_fast_filter').click(clear_fast_filter); + $('#fast_filter').focus(function (evt) {evt.target.select();}); + $('#fast_filter').keyup(function (evt) {fast_filter(evt.target.value);}); }); diff --git a/js/update-location.js b/js/update-location.js index 8ebdb62bd..b8b001dfd 100644 --- a/js/update-location.js +++ b/js/update-location.js @@ -42,7 +42,7 @@ function setURLHash(hash) { * Handler for changing url according to the hash part, which is updated * on each page to allow bookmarks. */ -jQuery(document).ready(function(){ +$(document).ready(function(){ /* Don't do anything if we're not root Window */ if (window.parent != window && window.parent.setURLHash) { return; diff --git a/libraries/footer.inc.php b/libraries/footer.inc.php index deacb5375..d02aee050 100644 --- a/libraries/footer.inc.php +++ b/libraries/footer.inc.php @@ -100,7 +100,7 @@ if (! empty($_SESSION['debug'])) { -jQuery(document).ready(function(){ +$(document).ready(function(){ // updates current settings if (window.parent.setAll) { window.parent.setAll('