diff --git a/www/pad/main.js b/www/pad/main.js index a095ba46e..d47c207e7 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -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); } });