From 1baad763f868d3781d830d1e27beac9fb2a4831f Mon Sep 17 00:00:00 2001 From: Joseph Kennedy Date: Mon, 28 Aug 2017 22:51:26 -0400 Subject: [PATCH] comment !selected --- netbox/templates/dcim/device.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index ebaa72eb4..7f0e367eb 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -640,7 +640,7 @@ $('button.toggle-description').click(function() { $('span.iface-description').show(); $('i.fa-comment-o').hide(); } - $(this).attr('selected', !selected); + //$(this).attr('selected', !selected); $(this).children('span').toggleClass('glyphicon-check glyphicon-unchecked'); return false; });