From 07e6c6face719f9ddd0332f76786cd1623df29f3 Mon Sep 17 00:00:00 2001 From: cuiliang Date: Wed, 13 Jun 2018 21:05:40 +0800 Subject: [PATCH] Update uploader.js --- assets/js/uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/uploader.js b/assets/js/uploader.js index 7ad721d..8a5a4ae 100644 --- a/assets/js/uploader.js +++ b/assets/js/uploader.js @@ -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') {