Remove unused new_enabled variable

This commit is contained in:
Allen Snook 2016-03-18 13:43:58 -07:00
parent cd5d2231ad
commit bd99d8f1f3
3 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -170,8 +170,7 @@
methods = _.indexBy( model.get( 'methods' ), 'instance_id' ),
instance_id = $target.closest( 'tr' ).data( 'id' ),
enabled = $target.closest( 'tr' ).data( 'enabled' ) === 'yes' ? 'no' : 'yes',
changes = {},
new_enabled = 'yes';
changes = {};
event.preventDefault();
methods[ instance_id ].enabled = enabled;

File diff suppressed because one or more lines are too long