make normal popups work again

This commit is contained in:
friendica 2013-01-07 22:35:28 -08:00
parent 5cb8db64cf
commit 5875691d34

View File

@ -187,7 +187,8 @@
/* notification menus are loaded dynamically
* - here we find a rel tag to figure out what type of notification to load */
var loader_source = $(menu).attr('rel');
if(loader_source.length) {
if(typeof(loader_source) != 'undefined' && loader_source.length) {
notify_popup_loader(loader_source);
}
menu.toggle();