add a suffix in editor title
This commit is contained in:
parent
a91183e1bb
commit
355f240779
|
@ -300,7 +300,11 @@ lazyInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateTitle(isDirty = dirty.isDirty()) {
|
function updateTitle(isDirty = dirty.isDirty()) {
|
||||||
document.title = `${isDirty ? '* ' : ''}${style.customName || style.name}`;
|
document.title = `${
|
||||||
|
isDirty ? '* ' : ''
|
||||||
|
}${
|
||||||
|
style.customName || style.name || t('addStyleLabel')
|
||||||
|
} - Stylus`; // the suffix enables external utilities to process our windows e.g. pin on top
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateLinter(key, value) {
|
function updateLinter(key, value) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user