Skip to content

Commit

Permalink
Use .image getter instead of .getAttribute()
Browse files Browse the repository at this point in the history
  • Loading branch information
Infocatcher committed Aug 9, 2014
1 parent a878cb3 commit 4211a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3892,7 +3892,7 @@ API.prototype = {
if(!tab.parentNode) // Tab was closed
return;
_dbgv && _log("_updateBookmarkFavicon(): delay");
var icon = (tab.getAttribute("image") || "")
var icon = (tab.image || "")
.replace(/[&#]-moz-resolution=\d+,\d+$/, ""); // Firefox 22+
if(!icon)
return;
Expand Down

0 comments on commit 4211a99

Please sign in to comment.