mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-09 20:07:35 +01:00
Minor cleanup.
This commit is contained in:
@@ -836,10 +836,8 @@ liberator.Editor = function () //{{{
|
||||
textBox.style.backgroundColor = "#bbbbbb";
|
||||
}
|
||||
|
||||
var newThread = Components.classes["@mozilla.org/thread-manager;1"]
|
||||
.getService().newThread(0);
|
||||
// TODO: save return value in v:shell_error
|
||||
liberator.callFunctionInThread(newThread, liberator.io.run, [prog, args, true]);
|
||||
liberator.callFunctionInThread(null, liberator.io.run, [prog, args, true]);
|
||||
|
||||
if (textBox)
|
||||
textBox.removeAttribute("readonly");
|
||||
|
||||
Reference in New Issue
Block a user