client/js/renderer/basebutton.js
changeset 505 a6a3b0e3da57
parent 434 0d5998b32a7c
child 649 2b9c120dba55
equal deleted inserted replaced
504:3329b413db18 505:a6a3b0e3da57
    16         },
    16         },
    17         show: function() {
    17         show: function() {
    18             this.sector.show();
    18             this.sector.show();
    19         },
    19         },
    20         hide: function() {
    20         hide: function() {
    21             this.sector.hide();
    21             if (this.sector){
       
    22                 this.sector.hide();                
       
    23             }
    22         },
    24         },
    23         select: function() {
    25         select: function() {
    24             this.sector.select();
    26             this.sector.select();
    25         },
    27         },
    26         unselect: function(_newTarget) {
    28         unselect: function(_newTarget) {