diff options
author | Allan Wang <me@allanwang.ca> | 2019-02-02 00:39:48 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-02-02 00:39:48 -0500 |
commit | c484c2728c1688ed695205a420eba3f2b2ba179d (patch) | |
tree | 045f471346aadb43a757389b9d39648d3ed39818 /app/src/main/assets/js/media.coffee | |
parent | 459359672b1f4266bc0f009c35f246fd90cce36a (diff) | |
download | frost-c484c2728c1688ed695205a420eba3f2b2ba179d.tar.gz frost-c484c2728c1688ed695205a420eba3f2b2ba179d.tar.bz2 frost-c484c2728c1688ed695205a420eba3f2b2ba179d.zip |
Add checks to fast fail menu
Diffstat (limited to 'app/src/main/assets/js/media.coffee')
-rw-r--r-- | app/src/main/assets/js/media.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/assets/js/media.coffee b/app/src/main/assets/js/media.coffee index a15a5279..e9b20ec8 100644 --- a/app/src/main/assets/js/media.coffee +++ b/app/src/main/assets/js/media.coffee @@ -1,6 +1,5 @@ # we will handle media events _frostMediaClick = (e) -> - element = e.target or e.srcElement if !element?.dataset.sigil?.toLowerCase().includes("inlinevideo") return @@ -27,4 +26,4 @@ _frostMediaClick = (e) -> e.preventDefault() return -document.addEventListener "click", _frostMediaClick, true
\ No newline at end of file +document.addEventListener "click", _frostMediaClick, true |