summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-05-07 01:28:37 +0000
committerBrion Vibber <brion@pobox.com>2010-05-07 01:28:37 +0000
commit79153869505c9bfb41b7e49b757f233dc19530bb (patch)
tree1ad78f57ab69a4d46f6077c7e8fac3b0e3162e6a /plugins
parent5996d80c0918001f5c69f8d52681fc16aa003297 (diff)
Allow plugins to load their styles for mobile view; fixes bad realtime button layout
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index a3dc4de46..6076bbde0 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;
}