Permalink
Browse files

Set a valid HTML5 doctype before we use HTML5 features

It isn't valid HTML5 to use maxlength with input[type="number"]
  • Loading branch information...
1 parent 7b42dc7 commit 7beb7172d63ffc45f1ff2aab69ab2aaf371ffb6b @kylef kylef committed Mar 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/data/webadmin/tmpl/add_edit_user.tmpl
  2. +1 −1 webskins/_default_/tmpl/DocType.tmpl
@@ -184,7 +184,7 @@
</div>
<div class="subsection third">
<div class="inputlabel">Buffer Size:</div>
- <div><input type="number" name="bufsize" value="<? VAR BufferCount ?>" maxlength="9" min="0" /></div>
+ <div><input type="number" name="bufsize" value="<? VAR BufferCount ?>" min="0" /></div>
<br /><span class="info">Empty = use standard value</span>
</div>
</div>
@@ -1,2 +1,2 @@
<? LT ?>xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<!DOCTYPE html>

0 comments on commit 7beb717

Please sign in to comment.