yusuketk 7 lat temu
rodzic
commit
f33da59073
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/client/js/components/PageTagForm.jsx

+ 1 - 1
src/client/js/components/PageTagForm.jsx

@@ -47,7 +47,7 @@ export default class PageTagForm extends React.Component {
   }
 
   handleSelect(e) {
-    if (e.keyCode === 32) {
+    if (e.keyCode === 32) { // '32' means ASCII code of 'space'
       e.preventDefault();
       const instance = this.typeahead.getInstance();
       const { initialItem } = instance.state;