Skip to content

Commit

Permalink
Added close page to fb redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Sep 30, 2015
1 parent 7d51eab commit 0b176c5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/main/quote/quote.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@
</button>
<span class="">
<button socialshare
socialshare-text="{{ quote.sentence }}"
socialshare-text="{{ quote.sentence }}"
socialshare-url="{{ quote.url }}"
socialshare-provider="twitter"
class="btn btn-outline btn-lg">
<i class="fa fa-fw fa-twitter"></i>
<span class="sr-only">Twitter</span>
</button>
<button socialshare
socialshare-text="{{ quote.sentence }}"
socialshare-text="{{ quote.sentence }}"
socialshare-url="{{ quote.url }}"
socialshare-provider="facebook"
socialshare-type="feed"
socialshare-via="732431740195590"
socialshare-redirect-uri="http://www.morano-2017.com/close.html"
class="btn btn-outline btn-lg">
<i class="fa fa-fw fa-facebook"></i>
<span class="sr-only">Facebook</span>
Expand Down
6 changes: 6 additions & 0 deletions src/close.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<script>window.close()</script>
</head>
</html>

0 comments on commit 0b176c5

Please sign in to comment.