summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-08-17 01:10:55 +0200
committerYorhel <git@yorhel.nl>2015-08-17 01:14:29 +0200
commit0fcc3797a7cef3f063ebcbc59aecfab5eb89eecb (patch)
treed54365074eec34607c685a42fc1e77c41d43aec3 /lib/VNDB/Handler
parentfcaa479640044cc7430702e5d9c79199d58481d7 (diff)
js: Add L10N strings to all relevant vars
This simplifies the JS code in some places and removes a whole number of L10N strings from the "l10n_str" var, thus shrinking the JS size a bit (uncompressed about 1500 bytes, in fact. 500 bytes after gzip).
Diffstat (limited to 'lib/VNDB/Handler')
-rw-r--r--lib/VNDB/Handler/Releases.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/VNDB/Handler/Releases.pm b/lib/VNDB/Handler/Releases.pm
index 805329af..35cf824c 100644
--- a/lib/VNDB/Handler/Releases.pm
+++ b/lib/VNDB/Handler/Releases.pm
@@ -433,12 +433,7 @@ sub _form {
end;
h2 mt '_redit_form_media';
- div id => 'media_div';
- Select;
- option value => $_, class => $self->{media}{$_} ? 'qty' : 'noqty', mt "_med_$_", 1
- for (sort keys %{$self->{media}});
- end;
- end;
+ div id => 'media_div', '';
}],
],