mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-12 08:35:44 +01:00
Fix [[/]].
This commit is contained in:
@@ -254,7 +254,7 @@ var Styles = Module("Styles", {
|
||||
services["dactyl:"].providers["style"] = function styleProvider(uri) {
|
||||
let id = /^\/(\d*)/.exec(uri.path)[1];
|
||||
if (set.has(styles.allSheets, id))
|
||||
return ["text/css", styles.allSheets[id].fullCSS];
|
||||
return ["text/css", unescape(encodeURI(styles.allSheets[id].fullCSS))];
|
||||
return null;
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user