mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 12:45:51 +01:00
rename StatusLine#setClass's parameter to 'type' since 'class' is a reserved
word
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user