1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-10 07:45:48 +01:00

rename StatusLine#setClass's parameter to 'type' since 'class' is a reserved

word
This commit is contained in:
Doug Kearns
2007-06-26 13:11:04 +00:00
parent 9330dafd26
commit eba81125a4

View File

@@ -734,9 +734,9 @@ function StatusLine() //{{{
color = "transparent"; color = "transparent";
statusline_widget.setAttribute("style", "background-color: " + color); statusline_widget.setAttribute("style", "background-color: " + color);
}; };
this.setClass = function(class) this.setClass = function(type)
{ {
statusline_widget.setAttribute("class", "status_" + class); statusline_widget.setAttribute("class", "status_" + type);
}; };
this.updateUrl = function(url) this.updateUrl = function(url)