1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 13:27:58 +01:00

Toggle between values in a list for string/number options with invert.

This commit is contained in:
Kris Maglione
2010-12-17 14:48:46 -05:00
parent 87c2e5624d
commit 754d490a56
4 changed files with 26 additions and 22 deletions

View File

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