Created
June 17, 2014 09:12
-
-
Save codelittle/ef026a472e010e57e412 to your computer and use it in GitHub Desktop.
app.js needs to become this
This file contains 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 characters
$(document).ready(function() { | |
$(document).foundation(); | |
}); | |
$(document).ready(function() { | |
// Transform any element that has data-url into a link | |
$('[data-url]').click(function () { | |
window.location = $(this).attr('data-url') | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment