diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index dc0a5c7857b..8c17f189502 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -6746,7 +6746,7 @@ class Form
{
$stringforfirstkey .= ' ALT +';
}
- if ($conf->browser->name == 'firefox')
+ elseif ($conf->browser->name == 'firefox')
{
$stringforfirstkey .= ' ALT + SHIFT +';
}
@@ -6754,7 +6754,7 @@ class Form
{
$stringforfirstkey .= ' CTL +';
}
-
+
$previous_ref = $object->ref_previous?'':'';
$next_ref = $object->ref_next?'':'';
}