aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-07 22:35:28 -0800
committerfriendica <info@friendica.com>2013-01-07 22:35:28 -0800
commit5875691d348a3cd36d646b28ac611adf8226540c (patch)
tree7fde1a1b6056ac97a295bd94ed69c82e95b262c9 /js/main.js
parent5cb8db64cfdcbf06244f151b7202e6d7ab1ed7d6 (diff)
downloadvolse-hubzilla-5875691d348a3cd36d646b28ac611adf8226540c.tar.gz
volse-hubzilla-5875691d348a3cd36d646b28ac611adf8226540c.tar.bz2
volse-hubzilla-5875691d348a3cd36d646b28ac611adf8226540c.zip
make normal popups work again
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index 18cf79ce8..59c55551b 100644
--- a/js/main.js
+++ b/js/main.js
@@ -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();