summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/reader/ShareView.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/javascripts/ui/reader/ShareView.js')
-rw-r--r--public/assets/javascripts/ui/reader/ShareView.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/assets/javascripts/ui/reader/ShareView.js b/public/assets/javascripts/ui/reader/ShareView.js
index 8a205ba..dbe6f64 100644
--- a/public/assets/javascripts/ui/reader/ShareView.js
+++ b/public/assets/javascripts/ui/reader/ShareView.js
@@ -10,6 +10,7 @@ var ShareView = View.extend({
initialize: function(opt){
this.parent = opt.parent
+ this.embedView = new EmbedView ({ parent: this })
this.$link = this.$("#share_link")
},
@@ -55,6 +56,7 @@ var ShareView = View.extend({
embed: function (e) {
e.preventDefault()
+ this.embedView.show()
},
})