mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 07:34:11 +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";
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user