1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 08:08:00 +01:00

Only force reload stylesheets if asked. Fix :sty completion for about:blank

This commit is contained in:
Kris Maglione
2008-10-10 18:20:52 +00:00
parent 9e65be3125
commit c5f8f5e581
2 changed files with 17 additions and 10 deletions

View File

@@ -778,8 +778,7 @@ lookup:
}
else if (/\.css$/.test(filename))
{
liberator.storage.styles.unregisterSheet("file://" + file.path);
liberator.storage.styles.registerSheet("file://" + file.path, !silent);
liberator.storage.styles.registerSheet("file://" + file.path, !silent, true);
}
else
{