Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -872,13 +872,13 @@ |
873 | 873 | if( $tag !='' ) |
874 | 874 | $tag = '<div id="mwrevisiontag_open" class="flaggedrevs_tag1 ' . $tagClass1 . ' plainlinks">'.$tag.'</div>'; |
875 | 875 | // Set the new body HTML, place a tag on top |
876 | | - $wgOut->mBodytext = $tag . $wgOut->mBodytext . $notes; |
877 | | - $extra="<div id='mwrevisiontag_closed' class='flaggedrevs_short $tagClass'></div> |
| 876 | + |
| 877 | + $tag .="<div id='mwrevisiontag_closed' class='flaggedrevs_short $tagClass'></div> |
878 | 878 | <script type='text/javascript'> |
879 | 879 | var review_open = document.getElementById('mwrevisiontag_open'); |
880 | 880 | review_open.style.display = 'none'; |
881 | 881 | </script>"; |
882 | | - $wgOut->addHTML($extra); |
| 882 | + $wgOut->mBodytext = $tag . $wgOut->mBodytext . $notes; |
883 | 883 | |
884 | 884 | } else { |
885 | 885 | $tag = '<div id="mwrevisiontag_open" class="mw-warning plainlinks">'.wfMsgExt('revreview-noflagged', array('parseinline')).'</div>'; |