Skip to content

Commit

Permalink
Fix compatibility with jQuery 1.8+.
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Jun 27, 2013
1 parent dc4a03c commit 3760198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions treebeard/static/treebeard/treebeard-admin.js
Expand Up @@ -72,7 +72,7 @@

// begin csrf token code
// Taken from http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax
$('html').ajaxSend(function (event, xhr, settings) {
$(document).ajaxSend(function (event, xhr, settings) {
function getCookie(name) {
var cookieValue = null;
if (document.cookie && document.cookie != '') {
Expand Down Expand Up @@ -301,7 +301,7 @@
function c(g, e) {
var f;
do {
f = d.curCSS(g, e);
f = d.css(g, e);
if (f != "" && f != "transparent" || d.nodeName(g, "body")) {
break
}
Expand Down

0 comments on commit 3760198

Please sign in to comment.