summaryrefslogtreecommitdiff
path: root/cgi/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-13 22:49:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-13 22:49:35 +0100
commit7b1c49622af1ff3598d606802025fad605508f04 (patch)
tree6ce209e73db7a83efd801a33670dc5291fbb6c66 /cgi/index.pl
parent4affeeffb8f9b84f905475982ab93ba785ee7016 (diff)
clean.html.ep should be smartphone-compatible now
Diffstat (limited to 'cgi/index.pl')
-rw-r--r--cgi/index.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 6d635c2..c02fbac 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -98,7 +98,10 @@ sub handle_request {
if ( $info eq '+0' ) {
$info = undef;
}
- if ( $info and $info =~ m{ \+ (\d+) }x ) {
+ if ( $template eq 'clean'
+ and $info
+ and $info =~ s{ (?: ca \. \s* )? \+ (\d+) :? \s* }{}x )
+ {
$delay = $1;
}
if ( $hide_low_delay and $info ) {