Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed problem with setting content of StaticContentView to null, not …

…removing the previously rendered content.
  • Loading branch information...
commit 81307a8e6c50f08c81996819495948cfd111aedd 1 parent f9d56f3
@publickeating publickeating authored
Showing with 5 additions and 7 deletions.
  1. +5 −7 frameworks/desktop/views/static_content.js
View
12 frameworks/desktop/views/static_content.js
@@ -128,21 +128,19 @@ SC.StaticContentView = SC.View.extend(SC.StaticLayout,
render: function(context, firstTime) {
var content = this.get('content');
- if (content) {
- context.push(content||'');
- }
+ context.push(content || '');
},
-
+
/** @private */
touchStart: function(evt){
evt.allowDefault();
return YES;
},
-
+
/** @private */
touchEnd: function(evt){
evt.allowDefault();
return YES;
}
-
-});
+
+});
Please sign in to comment.
Something went wrong with that request. Please try again.