Permalink
Browse files

Ensure the page is set up first before adding the notifications element

  • Loading branch information...
1 parent bedd7c4 commit 584ddb26531a75adedc991f087dd02787d5a56eb @KyleAMathews committed Jun 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 notifications/ui_notifications.js
@@ -120,10 +120,10 @@ exports.Notification = Notification;
// list
$(function(){
- _.defer(function() {
+ _.delay(function() {
$('body').append('<ul id="notifications">');
list = $('#notifications');
- });
+ }, 500);
})
/**

0 comments on commit 584ddb2

Please sign in to comment.