Skip to content

Instantly share code, notes, and snippets.

@patrickarlt
Created July 24, 2012 01:05
Show Gist options
  • Save patrickarlt/3167279 to your computer and use it in GitHub Desktop.
Save patrickarlt/3167279 to your computer and use it in GitHub Desktop.
map.on("popupopen", function(e){
date = new Date(parseint($("#timeago").html()));
$('#timeago').text($.timeago(date));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment