mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 02:04:11 +01:00
Fix tab number updates in FF36. Closes issue 300.
This commit is contained in:
@@ -185,8 +185,10 @@ var IO = Module("io", {
|
||||
else if (/\.css$/.test(filename))
|
||||
styles.registerSheet(uri.spec, false, true);
|
||||
else {
|
||||
if (!(file.path in plugins))
|
||||
plugins[file.path] = modules.newContext(modules.userContext);
|
||||
modules.commands.execute(file.read(), null, silent || "loud", null,
|
||||
{ file: file.path, line: 1 });
|
||||
{ file: file.path, line: 1, context: plugins[file.path] });
|
||||
}
|
||||
|
||||
if (this._scriptNames.indexOf(file.path) == -1)
|
||||
|
||||
Reference in New Issue
Block a user