mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-23 11:41:21 +00:00
Various code cleanup.
This commit is contained in:
4
public/js/ff/admin/update/index.js
vendored
4
public/js/ff/admin/update/index.js
vendored
@@ -18,6 +18,8 @@
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/** global: updateCheckUri */
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
|
||||
@@ -31,7 +33,7 @@ function checkUpdate() {
|
||||
// do post update check:
|
||||
$.post(updateCheckUri).done(function (data) {
|
||||
alert(data.result);
|
||||
}).fail(function() {
|
||||
}).fail(function () {
|
||||
alert('Error while checking.');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user