mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 08:52:27 +01:00
Re-register a stylesheet if it already exists on styles.registerSheet
This commit is contained in:
@@ -139,9 +139,9 @@ liberator.Buffer = function () //{{{
|
|||||||
{
|
{
|
||||||
if (doCheckSyntax)
|
if (doCheckSyntax)
|
||||||
checkSyntax(uri);
|
checkSyntax(uri);
|
||||||
|
this.unregisterSheet(uri);
|
||||||
uri = ios.newURI(uri, null, null);
|
uri = ios.newURI(uri, null, null);
|
||||||
if (!sss.sheetRegistered(uri, sss.USER_SHEET))
|
sss.loadAndRegisterSheet(uri, sss.USER_SHEET);
|
||||||
sss.loadAndRegisterSheet(uri, sss.USER_SHEET);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.unregisterSheet = function (uri)
|
this.unregisterSheet = function (uri)
|
||||||
|
|||||||
Reference in New Issue
Block a user