commit bbd3d4323ee1c52dd62b0d3a34eb60e37002b033
parent eec24740f35162c78aae19b2c29bcd98bee35d3f
Author: unitehenry <unitehenry@gmail.com>
Date: Thu, 22 Oct 2020 15:06:47 -0400
only need mousedown event font options
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/striveneditor.js b/src/striveneditor.js
@@ -658,7 +658,6 @@ export default class StrivenEditor {
};
fontOption.onmousedown = trigger;
- fontOption.onclick = trigger;
menu.append(fontOption);
});
@@ -732,7 +731,6 @@ export default class StrivenEditor {
};
fontOption.onmousedown = trigger;
- fontOption.onclick = trigger;
menu.append(fontOption);
});