]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Allow plugins to load their styles for mobile view; fixes bad realtime button layout
authorBrion Vibber <brion@pobox.com>
Fri, 7 May 2010 01:28:37 +0000 (01:28 +0000)
committerBrion Vibber <brion@pobox.com>
Fri, 7 May 2010 01:28:37 +0000 (01:28 +0000)
plugins/MobileProfile/MobileProfilePlugin.php

index a3dc4de465e3da70f362c2fa13e0828a5d523a84..6076bbde0bf0cbc1134dbcb0031ce4b0d51c8c14 100644 (file)
@@ -255,6 +255,10 @@ class MobileProfilePlugin extends WAP20Plugin
             $action->cssLink('plugins/MobileProfile/mp-handheld.css',null,'handheld');
         }
 
+        // Allow other plugins to load their styles.
+        Event::handle('EndShowStatusNetStyles', array($action));
+        Event::handle('EndShowLaconicaStyles', array($action));
+
         return false;
     }