Gaël Métais 10 years ago
parent
commit
98f074e8d5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      front/src/js/directives/offendersDirectives.js

+ 3 - 1
front/src/js/directives/offendersDirectives.js

@@ -304,6 +304,7 @@
                 } else {
                     return 'get from ' + getJQueryContextButtonHTML(ctxt, onASingleLine);
                 }
+                break;
 
             case 'jQuery - toggle':
                 if (args[0] === 'true') {
@@ -386,8 +387,9 @@
                 if (args[0]) {
                     return 'bind on ' + getJQueryContextButtonHTML(ctxt, onASingleLine);
                 } else {
-                    return 'trigger on ' + getJQueryContextButtonHTML(ctxt, onASingleLine);
+                    return 'triggered on ' + getJQueryContextButtonHTML(ctxt, onASingleLine);
                 }
+                break;
 
             case 'jQuery - error':
             case 'jQuery - focusin':