浏览代码

Fix #243

This fixes #243 caused by https://github.com/thingles/foreground/commit/e5f8fbcb9f5475e87b178c0c601d038d384d7f25

This has been tested by me and fixes the problem.
paladox 9 年之前
父节点
当前提交
eec478638b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Foreground.skin.php

+ 1 - 1
Foreground.skin.php

@@ -182,7 +182,7 @@ class foregroundTemplate extends BaseTemplate {
 		<div class="row">
 				<div id="p-cactions" class="large-12 columns">
 					<?php if ($wgUser->isLoggedIn() || $wgForegroundFeatures['showActionsForAnon']): ?>
-						<a href="#" class="button dropdown small secondary radius"><i class="fa fa-cog"><span class="show-for-medium-up">&nbsp;<?php echo wfMessage( 'actions' )->text() ?></span></i></a>
+						<a href="#" data-dropdown="drop1" class="button dropdown small secondary radius"><i class="fa fa-cog"><span class="show-for-medium-up">&nbsp;<?php echo wfMessage( 'actions' )->text() ?></span></i></a>
 						<!--RTL -->
 						<ul id="drop1" class="views large-12 columns left f-dropdown">
 							<?php foreach( $this->data['content_actions'] as $key => $item ) { echo preg_replace(array('/\sprimary="1"/','/\scontext="[a-z]+"/','/\srel="archives"/'),'',$this->makeListItem($key, $item)); } ?>