mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-14 07:15:53 +01:00
Allow :sourcing chrome: URLs backed by a file.
This commit is contained in:
@@ -342,7 +342,7 @@ lookup:
|
|||||||
this.withSavedValues(["sourcing"], function () {
|
this.withSavedValues(["sourcing"], function () {
|
||||||
this.sourcing = null;
|
this.sourcing = null;
|
||||||
try {
|
try {
|
||||||
var file = io.File(filename);
|
var file = io.File(util.getFile(filename) || filename);
|
||||||
|
|
||||||
if (!file.exists() || !file.isReadable() || file.isDirectory()) {
|
if (!file.exists() || !file.isReadable() || file.isDirectory()) {
|
||||||
if (!silent)
|
if (!silent)
|
||||||
|
|||||||
Reference in New Issue
Block a user