| changeset 512 | 480c1d2d6915 |
| parent 505 | a6a3b0e3da57 |
| child 649 | 2b9c120dba55 |
--- a/client/js/renderer/basebutton.js Wed Sep 09 13:10:01 2015 +0200 +++ b/client/js/renderer/basebutton.js Wed Sep 09 15:05:30 2015 +0200 @@ -18,7 +18,9 @@ this.sector.show(); }, hide: function() { - this.sector.hide(); + if (this.sector){ + this.sector.hide(); + } }, select: function() { this.sector.select();