yusuketk пре 7 година
родитељ
комит
f33da59073
1 измењених фајлова са 1 додато и 1 уклоњено
  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;