You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
658 B
JavaScript
24 lines
658 B
JavaScript
'use strict';
|
|
|
|
|
|
define('admin/settings/general', ['admin/settings'], function () {
|
|
var Module = {};
|
|
|
|
Module.init = function () {
|
|
$('button[data-action="removeLogo"]').on('click', function () {
|
|
$('input[data-field="brand:logo"]').val('');
|
|
});
|
|
$('button[data-action="removeFavicon"]').on('click', function () {
|
|
$('input[data-field="brand:favicon"]').val('');
|
|
});
|
|
$('button[data-action="removeTouchIcon"]').on('click', function () {
|
|
$('input[data-field="brand:touchIcon"]').val('');
|
|
});
|
|
$('button[data-action="removeOgImage"]').on('click', function () {
|
|
$('input[data-field="removeOgImage"]').val('');
|
|
});
|
|
};
|
|
|
|
return Module;
|
|
});
|