Skip to content

Commit

Permalink
LeanMonaco: move $.ajaxSetup({cache: true}) to jquery.wikia.js
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed May 8, 2009
1 parent b46f102 commit 17098da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions wikia/trunk/skins/awesome/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,6 @@ function sub_menuItemAction_wrap(e) {
// macbre: add Christian's code for LeanMonaco
//

//@see http://jamazon.co.uk/web/2008/07/21/jquerygetscript-does-not-cache
$.ajaxSetup({cache: true});

//Attach DOM-Ready handlers
$(function() {
$("#headerButtonHub").bind("click.headerMenu", openHubMenu);
Expand Down
3 changes: 3 additions & 0 deletions wikia/trunk/skins/common/jquery/jquery.wikia.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//@see http://jamazon.co.uk/web/2008/07/21/jquerygetscript-does-not-cache
$.ajaxSetup({cache: true});

jQuery.fn.log = function (msg) {
if (typeof console != 'undefined') {
console.log(msg);
Expand Down

0 comments on commit 17098da

Please sign in to comment.