mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:32:27 +01:00
fix redeclaration of variable class in buffer.highlight
This commit is contained in:
@@ -1096,7 +1096,7 @@ liberator.Buffer = function () //{{{
|
||||
{
|
||||
let [, class, selectors] = key.match(/^([a-zA-Z_-]+)(.*)/);
|
||||
|
||||
let class = highlightClasses.filter(function (i) i == class || i[0] == class)[0];
|
||||
class = highlightClasses.filter(function (i) i == class || i[0] == class)[0];
|
||||
if (!class)
|
||||
{
|
||||
liberator.echoerr("Unknown highlight keyword");
|
||||
|
||||
Reference in New Issue
Block a user