projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1818 from dibdot/lxc_fix
[project/luci.git]
/
applications
/
luci-app-adblock
/
luasrc
/
view
/
adblock
/
logread.htm
diff --git
a/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
b/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
index
5e25a54
..
082ec80
100644
(file)
--- a/
applications/luci-app-adblock/luasrc/view/adblock/logread.htm
+++ b/
applications/luci-app-adblock/luasrc/view/adblock/logread.htm
@@
-1,5
+1,5
@@
<%#
<%#
-Copyright 2017 Dirk Brenken (dev@brenken.org)
+Copyright 2017
-2018
Dirk Brenken (dev@brenken.org)
This is free software, licensed under the Apache License, Version 2.0
-%>
This is free software, licensed under the Apache License, Version 2.0
-%>
@@
-11,4
+11,10
@@
This is free software, licensed under the Apache License, Version 2.0
<textarea id="logread_id" style="width: 100%; height: 450px; border: 1px solid #cccccc; padding: 5px; font-size: 12px; font-family: monospace; resize: none;" readonly="readonly" wrap="off" rows="<%=content:cmatch("\n")+2%>"><%=content:pcdata()%></textarea>
</fieldset>
</div>
<textarea id="logread_id" style="width: 100%; height: 450px; border: 1px solid #cccccc; padding: 5px; font-size: 12px; font-family: monospace; resize: none;" readonly="readonly" wrap="off" rows="<%=content:cmatch("\n")+2%>"><%=content:pcdata()%></textarea>
</fieldset>
</div>
+
+<script type="text/javascript">
+ var textarea = document.getElementById('logread_id');
+ textarea.scrollTop = textarea.scrollHeight;
+</script>
+
<%+footer%>
<%+footer%>