Last active
November 29, 2021 19:39
-
-
Save josephabrahams/9d023596b884e80e37e5 to your computer and use it in GitHub Desktop.
Revisions
-
josephabrahams revised this gist
Aug 31, 2015 . 1 changed file with 10 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,12 @@ (function($) { $('.js-share-twitter-link').click(function(e) { e.preventDefault(); var href = $(this).attr('href'); window.open(href, "Twitter", "height=285,width=550,resizable=1"); }); $('.js-share-facebook-link').click(function(e) { e.preventDefault(); var href = $(this).attr('href'); window.open(href, "Facebook", "height=269,width=550,resizable=1"); }); })(jQuery); -
josephabrahams revised this gist
Jun 11, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,4 +15,4 @@ $('document').ready(function() { socialSharePopups(); }); })(jQuery); -
josephabrahams revised this gist
Jun 11, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ (function($) { function socialSharePopups() { $('.js-share-twitter-link').click(function(e) { e.preventDefault(); -
josephabrahams created this gist
Sep 15, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ (function($, window, document, undefined) { function socialSharePopups() { $('.js-share-twitter-link').click(function(e) { e.preventDefault(); var href = $(this).attr('href'); window.open(href, "Twitter", "height=285,width=550,resizable=1"); }); $('.js-share-facebook-link').click(function(e) { e.preventDefault(); var href = $(this).attr('href'); window.open(href, "Facebook", "height=269,width=550,resizable=1"); }); } $('document').ready(function() { socialSharePopups(); }); })(jQuery, window, document);