Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed bug in browser code where embedded scripts would not run becaus…

…e of internal data structure change (apply -> call)
  • Loading branch information...
commit d7060906cf54d09ed476d18cb329f084e0a1c875 1 parent 2f1e95d
@rsms authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  browser/template.js
View
2  browser/template.js
@@ -89,7 +89,7 @@ move.runBrowserScripts = function runBrowserScripts(rootElement, callback) {
// note: "apply", not "call". completeQ[i] => [err, jscode, uri, extra1, extraN, ..]
args = completeQ[i];
if (!args[0]) {
- move.executeScript.apply(move, args[1], args[2]);
+ move.executeScript.call(move, args[1], args[2]);
} else { // error
throw args[0];
}
Please sign in to comment.
Something went wrong with that request. Please try again.