make regex case insensitive

pull/1/head
ansuz 2017-08-14 14:41:23 +02:00
parent 736288a85b
commit 5e6e76dfc1
1 changed files with 1 additions and 1 deletions
www/pad

View File

@ -43,7 +43,7 @@ define([
var removeListeners = function (root) {
slice(root.attributes).map(function (attr) {
if (/^on/.test(attr.name)) {
if (/^on/i.test(attr.name)) {
root.attributes.removeNamedItem(attr.name);
}
});