diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-11 14:30:18 -0600 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-11 14:30:18 -0600 |
| commit | 32c8b0fa79e6aa818360341f58b6f327299caf59 (patch) | |
| tree | 4d53a581790941b5863354c0d903b5583f87a673 /StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js | |
| parent | 6751e1424bb46a3d6a035e695bcd61475e40a13f (diff) | |
deeplinking working. 0.4.0
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js')
| -rwxr-xr-x | StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js index a6c4384b..dae7f98d 100755 --- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js +++ b/StoneIsland/platforms/android/assets/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 |
