mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:41:07 +08:00
FIX: Checkboxes weren't always being set properly.
Note to all, `set()` values for computed properties must return the new value the same as `get()` does.
This commit is contained in:
@ -34,6 +34,7 @@ export default Ember.Component.extend(BufferedContent, ScrollTop, {
|
||||
},
|
||||
set(value) {
|
||||
this.set('buffered.value', value ? 'true' : 'false');
|
||||
return value;
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user