FIX: Poll requires logged in user to log in again

FIX: Open/Closing the poll wasn't updating the UI
REFACTOR: ES6 FTW
This commit is contained in:
Régis Hanol
2015-03-03 16:17:07 +01:00
parent 9698447e89
commit 4714a562d9
7 changed files with 100 additions and 106 deletions
@@ -4,6 +4,6 @@ Discourse.Dialect.inlineBetween({
rawContents: true,
emitter: function(contents) {
var list = Discourse.Dialect.cook(contents, {});
return ['div', {class: 'poll-ui'}, list];
return ['div', { class: 'poll-ui' }, list];
}
});