Skip to content

Commit edc3cea

Browse files
Jean-Paul van Oostenpieter
Jean-Paul van Oosten
authored andcommitted
WebView now scrolls to the top on update
Just added a call to the scroll-function in commit.js.
1 parent 727703c commit edc3cea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

html/commit.js

+2
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@ var doeHet = function() {
6868
} else {
6969
$("details").innerHTML = "<a class='showdiff' href='' onclick='showDiffs(); return false;'>This is a large commit. Click here to show the diff.</a>";
7070
}
71+
72+
scroll(0, 0);
7173
}

0 commit comments

Comments
 (0)