Browse files

disable auto-capitalize

  • Loading branch information...
1 parent a2bc1cc commit fe1460dba5661160f58b124f3f1f05a1a54b6aff @leedo committed Apr 3, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 share/static/alice.js
  2. +1 −0 src/js/alice/src/alice/input.js
View
1 share/static/alice.js
@@ -13362,6 +13362,7 @@ Alice.Input = Class.create({
if (this.canContentEditable()) {
this.editor = WysiHat.Editor.attach(this.textarea);
this.element = this.editor;
+ this.element.writeAttribute("autocapitalize", "off");
this.toolbar = new Alice.Toolbar(this.element)
this.toolbar.addButtonSet(Alice.Toolbar.ButtonSet);
var input = new Element("input", {type: "hidden", name: "html", value: 1});
View
1 src/js/alice/src/alice/input.js
@@ -8,6 +8,7 @@ Alice.Input = Class.create({
if (this.canContentEditable()) {
this.editor = WysiHat.Editor.attach(this.textarea);
this.element = this.editor;
+ this.element.writeAttribute("autocapitalize", "off");
this.toolbar = new Alice.Toolbar(this.element)
this.toolbar.addButtonSet(Alice.Toolbar.ButtonSet);
var input = new Element("input", {type: "hidden", name: "html", value: 1});

0 comments on commit fe1460d

Please sign in to comment.