mirror of
https://gh.wpcy.net/https://github.com/bigmax1018/freescout-Themes-Module-main.git
synced 2026-04-17 12:34:13 +08:00
7 lines
No EOL
273 B
JavaScript
7 lines
No EOL
273 B
JavaScript
$('.theme-colours a').click(function(e) {
|
|
$("input[name='settings[themes.theme]']").val($(this).attr('data-colour'));
|
|
$("#colour-label").html($(this).attr('data-colour'));
|
|
$('.theme-colours a').removeClass('active');
|
|
$(this).addClass('active');
|
|
e.preventDefault();
|
|
}); |