Sfoglia il codice sorgente

fix webxdc.js that broken after adding importFiles() (#1898)

there was just a comma missing, that broke _some_ apps
(for whatever reason, not _all_ apps)

ftr: in theory, adding a trailing comma is always a good idea,
make adding things easier.
however, JavaScript and JSON is a mess here:
the former allows adding a trailing comma, the latter does not allow that -
resulting in devs using both often to not add the comma.
bjoern 1 anno fa
parent
commit
e0989a37c6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      deltachat-ios/Controller/WebxdcViewController.swift

+ 1 - 1
deltachat-ios/Controller/WebxdcViewController.swift

@@ -164,7 +164,7 @@ class WebxdcViewController: WebViewViewController {
                 }
 
                 webkit.messageHandlers.sendToChat.postMessage(data);
-            }
+            },
 
             importFiles: (filters) => {
                 var element = document.createElement("input");