NL
This commit is contained in:
parent
75b56a3214
commit
e23b1361de
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,7 @@ function change_card_title() {
|
||||||
inject_image('.list-card-title');
|
inject_image('.list-card-title');
|
||||||
inject_image('.window-title-text');
|
inject_image('.window-title-text');
|
||||||
}
|
}
|
||||||
|
|
||||||
function change_list_title() {
|
function change_list_title() {
|
||||||
inject_image('.list-header-name');
|
inject_image('.list-header-name');
|
||||||
inject_image('.window-header-inline-content');
|
inject_image('.window-header-inline-content');
|
||||||
|
@ -10,38 +11,47 @@ function change_list_title() {
|
||||||
function change_comment() {
|
function change_comment() {
|
||||||
inject_image('.action-comment');
|
inject_image('.action-comment');
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.list-header-name').on('change load', function() {
|
$('.list-header-name').on('change load', function() {
|
||||||
change_list_title();
|
change_list_title();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.active-card').on('click', function() {
|
$('.active-card').on('click', function() {
|
||||||
change_list_title();
|
change_list_title();
|
||||||
change_card_title();
|
change_card_title();
|
||||||
change_comment();
|
change_comment();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.card-detail-edit textarea').on('change input', function() {
|
$('.card-detail-edit textarea').on('change input', function() {
|
||||||
markdown_injector('.card-detail-edit textarea');
|
markdown_injector('.card-detail-edit textarea');
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.phenom-action').on('DOMNodeInserted DOMNodeRemoved change load', function() {
|
$('.phenom-action').on('DOMNodeInserted DOMNodeRemoved change load', function() {
|
||||||
change_card_title();
|
change_card_title();
|
||||||
change_list_title();
|
change_list_title();
|
||||||
change_comment();
|
change_comment();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.js-add-card').on('click', function() {
|
$('.js-add-card').on('click', function() {
|
||||||
change_card_title();
|
change_card_title();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.action-card').on('click', function() {
|
$('.action-card').on('click', function() {
|
||||||
change_card_title();
|
change_card_title();
|
||||||
change_list_title();
|
change_list_title();
|
||||||
change_comment();
|
change_comment();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.action-comment').on('click', function() {
|
$('.action-comment').on('click', function() {
|
||||||
change_comment();
|
change_comment();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.js-save-edit').on('click', function() {
|
$('.js-save-edit').on('click', function() {
|
||||||
change_card_title();
|
change_card_title();
|
||||||
change_list_title();
|
change_list_title();
|
||||||
change_comment();
|
change_comment();
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('ready', function() {
|
$(document).on('ready', function() {
|
||||||
change_comment();
|
change_comment();
|
||||||
change_card_title();
|
change_card_title();
|
||||||
|
|
Reference in a new issue