Skip to content
This repository has been archived by the owner on May 13, 2018. It is now read-only.

Commit

Permalink
Changed the order of some arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jun 12, 2012
1 parent 73a0b2d commit b120807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/urlbarbutton.js
Expand Up @@ -49,13 +49,13 @@ UrlbarButton = function (options) {
return elements;
}

setImage = function (href, src) {
setImage = function (src, href) {
getButtons(href).forEach(function (button) {
button.src = src;
});
};

setVisibility = function (href, show) {
setVisibility = function (show, href) {
if (href) {
getButtons(href).forEach(function (button) {
button.collapsed = !show;
Expand Down

0 comments on commit b120807

Please sign in to comment.