Revision 097b720a ui/templates/machines_icon.html

b/ui/templates/machines_icon.html
175 175
    function() {
176 176
        if ($(this).parent().parent().find('.status').text() != STATUSES['ACTIVE']) { return };
177 177
        set_machine_os_image($(this).parent().parent(), "icon", "hover", undefined, 1);
178
        var parent = $(this).parent().parent();
179
        parent.find(".connect-arrow").show().addClass('border-hover');
178 180
    });
179 181

  
180 182
$("div.connect-arrow, div.running .machine .logo").live('mouseleave',
......
183 185
        set_machine_os_image($(this).parent().parent(), "icon", "hover", undefined, 1, "hover");
184 186
        // mouseup outside the element is not fired
185 187
        set_machine_os_image($(this).parent().parent(), "icon", "hover", undefined, 1, "click");
188
        var parent = $(this).parent().parent();
189
        parent.find(".connect-arrow").show().removeClass('border-hover');
186 190
    });
187 191

  
188 192
$("div.connect-arrow, div.running .machine .logo").live('mousedown',

Also available in: Unified diff