Skip to content

Commit

Permalink
Closes #4 -- Added remove upload functionality but does not disappear…
Browse files Browse the repository at this point in the history
… on refresh, added some jquery to show it will be removed in the meantime
  • Loading branch information
Ryan Gordon committed Jul 17, 2015
1 parent 7f787f9 commit 66fdf49
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions admin/js/chill-mode-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,15 @@ jQuery(document).ready(function($){

});

// Remove Input values
$('input[type="checkbox"]').on('click', function() {
if ($(this).is(":checked")) {
$('#upload_image').css('color', 'white');
$('img').hide();
} else if ($(this).is(":not(:checked)")) {
$('#upload_image').css('color', 'black');
$('img').show();
}
});

});

0 comments on commit 66fdf49

Please sign in to comment.