aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stylechanger.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/stylechanger.js b/stylechanger.js
index 64f033c..71d7b38 100644
--- a/stylechanger.js
+++ b/stylechanger.js
@@ -2,6 +2,7 @@
* stylesheet changer
* @author teramako teramako@gmail.com
* @license MPL 1.1/GPL 2.0/LGPL 2.1
+ * @see http://d.hatena.ne.jp/teramako/20080405/vimperator_plugin_stylechanger_js
*
* Usage:
*
@@ -44,7 +45,7 @@ commands.addUserCommand(['hi[ghlight]'],
['clear','disable stylesheet'],
['off','disable stylesheet']
];
- var styles = list.concat( getStylesheetList().filter(
+ var styles = list.concat( getStylesheetList().map(
function(elm){ return [elm,'alternative style']; }
));
if (!aFilter) return [0,styles];