summaryrefslogtreecommitdiff
path: root/www/scripts
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-08-03 13:40:38 +0000
committerIan C <ianc@noddybox.co.uk>2018-08-03 13:40:38 +0000
commite3a2fd39a605775804827b8672a0fc0cc1b843e0 (patch)
tree76c335c1b43888a6517c594dbd4b58f7c494892c /www/scripts
parent96f5cc19405262dd288acbeb79dd74a12ec21da3 (diff)
Updated button layout to work in Firefox. Removed redundant height from fixedHEADmaster
header div.
Diffstat (limited to 'www/scripts')
-rw-r--r--www/scripts/main.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/scripts/main.js b/www/scripts/main.js
index 0e403dc..af064e5 100644
--- a/www/scripts/main.js
+++ b/www/scripts/main.js
@@ -289,15 +289,16 @@ function AddRow(table, id, prev_id, next_id, desc, username, password, rowcount)
if (next_id != -1 || prev_id != -1)
{
+ AddElement(td, "br");
+
if (prev_id != -1)
{
- AddText(td, "\u00a0");
AddSmallButtonPrevNext(td, "Up", DoUp, id, prev_id, next_id);
+ AddText(td, "\u00a0");
}
if (next_id != -1)
{
- AddText(td, "\u00a0");
AddSmallButtonPrevNext
(td, "Down", DoDown, id, prev_id, next_id);
}