1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 06:25:58 +01:00

Better dactyl: charset handling. Fix some option completion issues.

This commit is contained in:
Kris Maglione
2011-05-04 15:40:16 -04:00
parent 6b5be697ae
commit db0ffa989c
5 changed files with 8 additions and 11 deletions

View File

@@ -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", unescape(encodeURI(styles.allSheets[id].fullCSS))];
return ["text/css", styles.allSheets[id].fullCSS];
return null;
};
},