X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=afa4d7262c97a84e3d7ae04bd3bc66185306906d;hb=848a7d125ce535e50afbba079d7d22f25f909b36;hp=0cc9924b3b2c0a5671a694c527d2094509e15fe1;hpb=18efd485ca5fa79bf81d1f2f58e798308bad7050;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 0cc9924b3b..afa4d7262c 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -23596,7 +23596,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { // this trigger toggle. this.setText(v ? "Hide Caption" : "Show Caption"); - this.setPressed(v); + this.setPressed(!v); }, listeners : { toggle: function (btn, state)