Skip to content

Commit

Permalink
Fixed favicons not being displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Schmitt committed Mar 3, 2011
1 parent 38118f5 commit 0eeaf2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions js/snipe.js
Expand Up @@ -205,8 +205,6 @@ var Snipe = Class.extend({
}

function onSettings(e) {
console.log('Snipe.onSettings', e);

if (hasClass(element, 'settings')) {
removeClass(element, 'settings');
}
Expand Down
2 changes: 1 addition & 1 deletion js/sniperesults.js
Expand Up @@ -80,7 +80,7 @@ Snipe.Results = Class.extend({
else {
element.innerHTML = tmpl(
'<% for ( var i = 0; i < length; i++ ) { %>\
<li style="background-image:url(<%= results[i].favicon %>)" data-index="<%= i %>" data-win="<%= results[i].winid %>" data-tab="<%= results[i].tabid %>">\
<li style="background-image:url(<%= results[i].favicon %>) !important;" data-index="<%= i %>" data-win="<%= results[i].winid %>" data-tab="<%= results[i].tabid %>">\
<%= results[i].title %>\
<em><%= results[i].url %></em>\
</li>\
Expand Down
3 changes: 2 additions & 1 deletion styles/styles.css
Expand Up @@ -133,7 +133,8 @@
text-align: left !important;
line-height: 19px !important;

background: no-repeat 5px 11px !important;
background-repeat: no-repeat !important;
background-position: 5px 11px !important;
background-size: 16px 16px !important;
}

Expand Down

0 comments on commit 0eeaf2d

Please sign in to comment.