summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorkt <>2015-01-17 10:27:58 +0100
committerYorhel <git@yorhel.nl>2015-01-17 10:27:58 +0100
commit33840a99712a157dd07887648fc4b10226a6dc84 (patch)
tree26a9f1d3afbf43fca355a77550e5e37b30b80834
parent28756f1de306982adedbc4197519125506009a4b (diff)
Fix placing of add/edit tabs on VN pages when tags are hidden
-rw-r--r--lib/VNDB/Handler/VNPage.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm
index 7d170ce8..3995ce2a 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -647,6 +647,7 @@ sub page {
my $haschar = $self->dbVNHasChar($v->{id});
if($haschar || $self->authCan('edit')) {
+ clearfloat; # fix tabs placement when tags are hidden
ul class => 'maintabs notfirst';
if($haschar) {
li class => 'left '.(!$char ? ' tabselected' : ''); a href => "/v$v->{id}#main", name => 'main', mt '_vnpage_tab_main'; end;