Skip to content

Commit

Permalink
Update uploader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cuileon authored Jun 13, 2018
1 parent 61d6385 commit 07e6c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if (selection.length > 0) {
$('#attachment-title').val(selection);
}
$('.modal-footer .btn-success').on('click', function () {
$('.modal-footer .btn-primary').on('click', function () {
if ($('#url').hasClass('active')) {
var title = $('#attachment-title').val(), url = $('#attachment-url').val();
if(type == 'image') {
Expand Down

0 comments on commit 07e6c6f

Please sign in to comment.