Commit 11bca1cb4db65dadb8c04b87d23b6b0ab40e17a5
Exists in
master
and in
21 other branches
Merge branch 'view-comments' into 'master'
application-js: encapsulate dom element on jQuery before calling hide() See merge request !556
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/application.js
... | ... | @@ -830,7 +830,7 @@ Array.min = function(array) { |
830 | 830 | |
831 | 831 | function hideAndGetUrl(link) { |
832 | 832 | document.body.style.cursor = 'wait'; |
833 | - link.hide(); | |
833 | + jQuery(link).hide(); | |
834 | 834 | url = jQuery(link).attr('href'); |
835 | 835 | jQuery.get(url, function( data ) { |
836 | 836 | document.body.style.cursor = 'default'; | ... | ... |