Skip to content

Instantly share code, notes, and snippets.

@davemo
Created December 29, 2009 04:22
Show Gist options
  • Save davemo/265147 to your computer and use it in GitHub Desktop.
Save davemo/265147 to your computer and use it in GitHub Desktop.
function playNotification() {
$('#notification').playNotification();
}
// becomes
function playNotification() {
$(function() {
$("#notification").playNotification();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment