Fixes showing prezi button.
This commit is contained in:
parent
d7317a94bb
commit
09a509400f
|
@ -396,7 +396,7 @@ var Toolbar = (function (my) {
|
||||||
* Disables and enables some of the buttons.
|
* Disables and enables some of the buttons.
|
||||||
*/
|
*/
|
||||||
my.setupButtonsFromConfig = function () {
|
my.setupButtonsFromConfig = function () {
|
||||||
if (UIUtil.isButtonEnabled('prezi')) {
|
if (!UIUtil.isButtonEnabled('prezi')) {
|
||||||
$("#toolbar_button_prezi").css({display: "none"});
|
$("#toolbar_button_prezi").css({display: "none"});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue