Removed prototypejs extended create syntax support check (always returning false)
@@ -2135,13 +2135,7 @@ Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
}
var HAS_EXTENDED_CREATE_ELEMENT_SYNTAX = (function(){
- try {
- var el = document.createElement('<input name="x">');
- return el.tagName.toLowerCase() === 'input' && el.name === 'x';
- }
- catch(err) {
return false;
- }
})();
