Commit 1de467afff83f2b23a43ed656e32cbc260d5b7e2
1 parent
767a62fc
Exists in
master
and in
29 other branches
application-js: encapsulate dom element on jQuery before calling hide()
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/application.js
... | ... | @@ -801,7 +801,7 @@ Array.min = function(array) { |
801 | 801 | |
802 | 802 | function hideAndGetUrl(link) { |
803 | 803 | document.body.style.cursor = 'wait'; |
804 | - link.hide(); | |
804 | + jQuery(link).hide(); | |
805 | 805 | url = jQuery(link).attr('href'); |
806 | 806 | jQuery.get(url, function( data ) { |
807 | 807 | document.body.style.cursor = 'default'; | ... | ... |