From: Brion Vibber Date: Fri, 7 May 2010 01:28:37 +0000 (+0000) Subject: Allow plugins to load their styles for mobile view; fixes bad realtime button layout X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=79153869505c9bfb41b7e49b757f233dc19530bb;p=quix0rs-gnu-social.git Allow plugins to load their styles for mobile view; fixes bad realtime button layout --- diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index a3dc4de465..6076bbde0b 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -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; }