From 7b1c49622af1ff3598d606802025fad605508f04 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 13 Dec 2013 22:49:35 +0100 Subject: clean.html.ep should be smartphone-compatible now --- cgi/index.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cgi/index.pl') 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 ) { -- cgit v1.2.3