1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 23:35:44 +01:00

Make the status bar properly customizable and remove some useless vertical space in the navbar.

This commit is contained in:
Kris Maglione
2014-02-16 22:48:07 -08:00
parent d9c39262a6
commit 5aceb5f61d
5 changed files with 24 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2008-2013 Kris Maglione <maglione.k at Gmail>
// Copyright (c) 2008-2014 Kris Maglione <maglione.k at Gmail>
//
// This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file.
@@ -125,7 +125,7 @@ var Highlights = Module("Highlight", {
if (/^[[>+: ]/.test(args[1]))
obj.selector = this.selector(obj.class) + args[1];
else if (args[1])
obj.selector = this.selector(args[1]);
obj.selector = this.selector(args[1].replace(/^,/, ""));
if (old && old.value != old.defaultValue)
obj.value = old.value;