Skip to content

Commit

Permalink
fix: fix import from PopupRecorder
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenlx committed May 3, 2021
1 parent a15d1ac commit 5bab58c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/eventHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ProcessNewExcerpt_Sender,
ChangeExcerptRange_Sender,
} from "@alx-plugins/marginnote";
import { PopupRecorder } from "modules/PopupRecorder";
import PopupRecorder from "modules/PopupRecorder";
import { copy, showHUD } from "modules/tools";
import { stringify } from "./modules/parser";

Expand Down Expand Up @@ -49,7 +49,6 @@ export function onPopupMenuOnSelection(sender: PopupMenuOnSelection_Sender) {
)
return; //Don't process message from other window

// @ts-ignore
if (!self.plugin_on) return;

if (self.recorder === undefined) {
Expand Down

0 comments on commit 5bab58c

Please sign in to comment.