Skip to content

Commit 3313d24

Browse files
authored
Update codeRun.js
1 parent a68ce1e commit 3313d24

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

codeRun.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ $(function() {
137137
resultFrame.contentWindow.document.write(frameContent);
138138
resultFrame.contentWindow.document.close();
139139

140+
$("body, #sectCode").animate({ scrollTop: 0 }, 1);
140141
});
141142

142143

0 commit comments

Comments
 (0)