summaryrefslogtreecommitdiff
path: root/common/content/io.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-12-17 14:48:46 -0500
committerKris Maglione <maglione.k@gmail.com>2010-12-17 14:48:46 -0500
commit754d490a5658bd5a55e3fa07bf1b22bc6a74acc9 (patch)
tree2b79d9cd893969fc2294f6810c9cbbb2601e34b8 /common/content/io.js
parent87c2e5624d7518225b8ac86432be12e96604a581 (diff)
downloadpentadactyl-754d490a5658bd5a55e3fa07bf1b22bc6a74acc9.tar.gz
Toggle between values in a list for string/number options with invert.
Diffstat (limited to 'common/content/io.js')
-rw-r--r--common/content/io.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/io.js b/common/content/io.js
index 0502cb24..00342081 100644
--- a/common/content/io.js
+++ b/common/content/io.js
@@ -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)