瀏覽代碼

Merge pull request #571 from joseluis/patch-3

Update scripts.js
Eddie Machado 12 年之前
父節點
當前提交
cbc30ee16d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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