diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-04 13:48:48 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-04 13:48:48 -0500 |
| commit | 3f90aca295fc206f25b41e4c219a62171dbed650 (patch) | |
| tree | bf95143b3b369a0702fa8d3de7ed3ce54a6e2127 /public/assets/javascripts/ui/reader/ShareView.js | |
| parent | a49023a991c62595fc5c449729be4cc313ff66a7 (diff) | |
fix weird click issue with youtube
Diffstat (limited to 'public/assets/javascripts/ui/reader/ShareView.js')
| -rw-r--r-- | public/assets/javascripts/ui/reader/ShareView.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/public/assets/javascripts/ui/reader/ShareView.js b/public/assets/javascripts/ui/reader/ShareView.js index 35c23ca..4e5f832 100644 --- a/public/assets/javascripts/ui/reader/ShareView.js +++ b/public/assets/javascripts/ui/reader/ShareView.js @@ -22,6 +22,11 @@ var ShareView = View.extend({ var msg = $(".roomName").html() + " on VValls" var url = "https://twitter.com/home?status=" + encodeURIComponent(window.location.origin + window.location.pathname + " " + msg); window.open(url, "_blank") - } + }, + + embed: function (e) { + e.preventDefault() + + }, }) |
