diff --git a/src/html/element.js b/src/html/element.js index d17ea11f..28d72c3c 100644 --- a/src/html/element.js +++ b/src/html/element.js @@ -60,7 +60,6 @@ __extend__(HTMLElement.prototype, { return __recursivelyGatherText__(this); }, set innerText(newText){ - this.innerHTML = "
"+newText+"
"; while(this.firstChild != null){ this.removeChild( this.firstChild ); } diff --git a/src/window/window.js b/src/window/window.js index b13bb149..df5aaa78 100644 --- a/src/window/window.js +++ b/src/window/window.js @@ -135,10 +135,10 @@ __extend__($w,{ get status(){return $status;}, set status(_status){$status = _status;}, get top(){return $top || $window;}, - get window(){return $window;}, + get window(){return $window;} /*, toString : function(){ return '[object Window]'; - } + } FIX SMP */ }); $w.open = function(url, name, features, replace){ @@ -264,5 +264,3 @@ function __setArray__( target, array ) { target.length = 0; Array.prototype.push.apply( target, array ); }; - -