mirror of
https://github.com/gapmiss/substack-clipper.git
synced 2026-07-22 07:48:24 +00:00
fix: add is-loading class to Notice
This commit is contained in:
parent
cc179918a8
commit
1c6cfefbbf
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ export default class SubstackClipperPlugin extends Plugin {
|
|||
|
||||
private async clipPost(url: string, openAfterClip: boolean): Promise<void> {
|
||||
const notice = new Notice('Saving...', 0);
|
||||
notice.containerEl.addClass("is-loading");
|
||||
|
||||
try {
|
||||
const { username, slug, domain } = parseUrl(url);
|
||||
|
|
|
|||
Loading…
Reference in a new issue