Index: trunk/extensions/LiquidThreads/pages/TalkpageView.php |
— | — | @@ -230,8 +230,7 @@ |
231 | 231 | |
232 | 232 | global $wgRequest; |
233 | 233 | if ( $this->methodApplies( 'talkpage_new_thread' ) ) { |
234 | | - $params = array( 'class' => 'lqt-new-thread lqt-edit-form', |
235 | | - 'style' => 'display: none;'); |
| 234 | + $params = array( 'class' => 'lqt-new-thread lqt-edit-form' ); |
236 | 235 | $this->output->addHTML( Xml::openElement( 'div', $params ) ); |
237 | 236 | $this->showNewThreadForm(); |
238 | 237 | $this->output->addHTML( Xml::closeElement( 'div' ) ); |
Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -217,6 +217,8 @@ |
218 | 218 | newThreadLink.click( liquidThreads.handleNewLink ); |
219 | 219 | } |
220 | 220 | |
| 221 | + $j('div.lqt-edit-form').each( function() { this.style.display = 'none'; } ); |
| 222 | + |
221 | 223 | // Show quote buttons |
222 | 224 | liquidThreads.showQuoteButtons(); |
223 | 225 | } ); |