Cannot add twitter credentials

Fixes #913
This commit is contained in:
Nick O'Leary
2016-06-20 14:25:11 +01:00
parent 343588b2a0
commit f30ce1f9eb
3 changed files with 12 additions and 7 deletions

View File

@@ -39,8 +39,7 @@ RED.tray = (function() {
if (options.buttons) {
for (var i=0;i<options.buttons.length;i++) {
var button = options.buttons[i];
var b = $('<button>').appendTo(buttonBar);
var b = $('<button>').button().appendTo(buttonBar);
if (button.id) {
b.attr('id',button.id);
}