diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-11 05:37:34 -0600 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-11 05:37:34 -0600 |
| commit | aa5a9b7c7cd52a69f8dd1d0cdc15475e113e6da0 (patch) | |
| tree | cecfdb0893eb9e936fe605478b3f8195dc7ef987 /StoneIsland/www/js/lib/blogs/HubView.js | |
| parent | 4178c44c48aa401f7780bec3f89430c83d50fe30 (diff) | |
remembered a couple things, push 0.3.4
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/HubView.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js index 49c05ff6..dae7f98d 100755 --- a/StoneIsland/www/js/lib/blogs/HubView.js +++ b/StoneIsland/www/js/lib/blogs/HubView.js @@ -4,7 +4,7 @@ var HubView = ScrollableView.extend({ template: $("#hub .template").html(), events: { - "click .share": "content-share", + "click .content-share": "share", "click .store": "store_link", "click .gallery-left": "gallery_left", "click .gallery-right": "gallery_right", @@ -106,8 +106,10 @@ var HubView = ScrollableView.extend({ this.galleries[id].next() }, - share: function(){ - window.plugins.socialsharing.share( this.item['ModelNames'], null, null, "http://stoneisland.com/") + share: function(e){ + var title = $(e.currentTarget).parent().find(".title").text() + console.log("share", title) + window.plugins.socialsharing.share(title, null, null, "http://stoneisland.com/" ) }, })
\ No newline at end of file |
