Created
June 28, 2018 20:02
-
-
Save preist/7dad69a07feac0be162ee46e58e2d0d0 to your computer and use it in GitHub Desktop.
Revisions
-
preist created this gist
Jun 28, 2018 .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,3 @@ $(document).on("click", "[data-href]", function(e) { return location.href = $(this).attr('data-href'); });