Skip to content

Commit

Permalink
Use jQuery instance from DEBUGKIT.$ variable in ClearCache panel
Browse files Browse the repository at this point in the history
  • Loading branch information
stork committed Nov 19, 2014
1 parent a3dbac6 commit 25f8e6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions View/Elements/clear_cache_panel.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ DEBUGKIT.clearCache = function () {
var $ = DEBUGKIT.$;
return {
init : function () {
var cacheLinks = $('div.clear-cache-links').find('a');
var cacheOutput = $('#clear-cache-output');
var cacheLinks = DEBUGKIT.$('div.clear-cache-links').find('a');
var cacheOutput = DEBUGKIT.$('#clear-cache-output');
var clearCache = function (event) {
event.preventDefault();
var request = $.ajax({
var request = DEBUGKIT.$.ajax({
url: this.href,
success : function (response) {
cacheOutput.html(response);
Expand Down

0 comments on commit 25f8e6e

Please sign in to comment.