mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 16:34:11 +01:00
Fix missing ancestor modes in :listkeys, recognize paths like c:/ on Windows®, and elide redundant -group=user in :style serialization.
This commit is contained in:
@@ -1296,7 +1296,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
return urls.map(function (url) {
|
||||
url = url.trim();
|
||||
|
||||
if (/^(\.{0,2}|~)(\/|$)/.test(url)) {
|
||||
if (/^(\.{0,2}|~)(\/|$)/.test(url) || util.OS.isWindows && /^[a-z]:/i.test(url)) {
|
||||
try {
|
||||
// Try to find a matching file.
|
||||
let file = io.File(url);
|
||||
|
||||
Reference in New Issue
Block a user