Prechádzať zdrojové kódy

Merge pull request #571 from joseluis/patch-3

Update scripts.js
Eddie Machado 12 rokov pred
rodič
commit
cbc30ee16d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      library/js/scripts.js

+ 1 - 1
library/js/scripts.js

@@ -115,7 +115,7 @@ function loadGravatars() {
   // if the viewport is tablet or larger, we load in the gravatars
 	if (viewport.width >= 768) {
 		$('.comment img[data-gravatar]').each(function(){
-      $(this).attr('src',$(this).attr('data-gravatar'));
+      jQuery(this).attr('src',$(this).attr('data-gravatar'));
     });
 	}
 } // end function