1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 00:34:11 +01:00

Allow :sourcing chrome: URLs backed by a file.

This commit is contained in:
Kris Maglione
2010-12-17 13:55:46 -05:00
parent 8c5abc4cf6
commit 87c2e5624d

View File

@@ -342,7 +342,7 @@ lookup:
this.withSavedValues(["sourcing"], function () {
this.sourcing = null;
try {
var file = io.File(filename);
var file = io.File(util.getFile(filename) || filename);
if (!file.exists() || !file.isReadable() || file.isDirectory()) {
if (!silent)