Parcourir la source

remove duplicated wkwebview configuration lines

cyberta il y a 3 ans
Parent
commit
741f13537c
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      deltachat-ios/Controller/WebxdcViewController.swift

+ 0 - 2
deltachat-ios/Controller/WebxdcViewController.swift

@@ -93,8 +93,6 @@ class WebxdcViewController: WebViewViewController {
         }
         preferences.javaScriptCanOpenWindowsAutomatically = false
         config.preferences = preferences
-        preferences.javaScriptEnabled = false
-        config.preferences = preferences
         return config
     }