keyboard/altgr/index: hide mode and identical keys in inventory
[sheet.git] / common.inc.plp
index 9d341284e1ba20869e2634d695c23ace8f52c6c7..8a13059a5c50c139cb1f698c5f463a29d17f4354 100644 (file)
@@ -76,7 +76,7 @@ sub stylesheet {
 
        return map { sprintf(
                '<link rel="%s" type="text/css" media="all" href="%s" title="%s">',
-               $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.14", $_
+               $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.17", $_
        ) } @avail;
 }
 
@@ -106,7 +106,7 @@ sub Data {
                local $/; # slurp
                return JSON::decode_json(readline $cache);
        };
-       if ($! or $@ or !@data or !$data[0]) {
+       if ($@ or !@data or !$data[0]) {
                die ['Table data not found', $@ || $!];
        }
        if (@data == 1 and ref $data[0] eq 'HASH' and not %{$data[0]}) {