diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-22 22:47:07 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-09-22 22:47:07 -0700 |
commit | 142b95f0ae82a849b1e9ef390a2a068b4c792be6 (patch) | |
tree | 10e7cfbca87fdc3ad904d5b0f38e493d088496e1 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt | |
parent | 981d6ffb409a501e6efcf4fe0cbe719e192beee7 (diff) | |
download | frost-142b95f0ae82a849b1e9ef390a2a068b4c792be6.tar.gz frost-142b95f0ae82a849b1e9ef390a2a068b4c792be6.tar.bz2 frost-142b95f0ae82a849b1e9ef390a2a068b4c792be6.zip |
Optimize imports and update changelog
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt index 449e98f1..187ab9eb 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt @@ -78,7 +78,7 @@ class FrostJSI(val web: FrostWebView) { @JavascriptInterface fun contextMenu(url: String?, text: String?) { - //url will be formatted through webcontext + // url will be formatted through webcontext web.post { context.showWebContextMenu(WebContext(url.takeIf { it.isIndependent }, text)) } } |