Skip to content

Commit

Permalink
Merge pull request #962 from Tiang-88/patch-24
Browse files Browse the repository at this point in the history
多余一行
  • Loading branch information
zhblue authored Sep 4, 2023
2 parents 7a43b6d + 21d925d commit ef92038
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions trunk/web/template/syzoj/submitpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
if (isset($OJ_TEST_RUN)&&$OJ_TEST_RUN) $height="400px";else $height="500px";
?>

<div style="position: relative;">
<div id="source" style="width:100%;" cols=180 rows=16></div>


<pre style="width:90%;height:<?php echo $height?>" cols=180 rows=16 id="source"><?php echo htmlentities($view_src,ENT_QUOTES,"UTF-8")?></pre>
<input type=hidden id="hide_source" name="source" value=""/>

Expand Down Expand Up @@ -388,13 +388,13 @@ function autoSave(){
function increaseFontSize(event) {
event.preventDefault();
var currentSize = parseInt(editor.getFontSize());
editor.setFontSize(currentSize + 1);
editor.setFontSize(currentSize + 3);
}

function decreaseFontSize(event) {
event.preventDefault();
var currentSize = parseInt(editor.getFontSize());
editor.setFontSize(currentSize - 1);
editor.setFontSize(currentSize - 3);
}
function toggleTheme(event) {
event.preventDefault();
Expand Down

0 comments on commit ef92038

Please sign in to comment.