Browse Source

browser-omni: about:preferences: fix syntax error for function without curly braces (omni.ja dated 2021-01-10 20:41)

master
roytam1 1 year ago
parent
commit
c5f756890a
  1. 5
      browser-omni/chrome/kmeleon/content/browser/preferences/in-content/main.js

5
browser-omni/chrome/kmeleon/content/browser/preferences/in-content/main.js

@ -295,7 +295,10 @@ var gMainPane = {
* downloads are automatically saved, updating preferences and UI in
* response to the choice, if one is made.
*/
chooseFolder() this.chooseFolderTask().catch(Components.utils.reportError),
chooseFolder()
{
return this.chooseFolderTask().catch(Components.utils.reportError);
},
chooseFolderTask: Task.async(function* ()
{
let bundlePreferences = document.getElementById("bundlePreferences");

Loading…
Cancel
Save