mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:42:46 +08:00
Upgrade polls to Ember 1.11
This commit is contained in:
@ -12,7 +12,8 @@ export default Em.Component.extend({
|
||||
var styles = [];
|
||||
if (this.get("color")) { styles.push("color:" + this.get("color")); }
|
||||
if (this.get("background")) { styles.push("background:" + this.get("background")); }
|
||||
return styles.length > 0 ? styles.join(";") : false;
|
||||
|
||||
return (styles.length > 0 ? styles.join(";") : '').htmlSafe();
|
||||
}.property("color", "background"),
|
||||
|
||||
render(buffer) {
|
||||
|
Reference in New Issue
Block a user