Skip to content

Commit 89d99ef

Browse files
committed
Default behavior removes options from prior frame
1 parent e241885 commit 89d99ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

document.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ export default class Document {
107107

108108
clear() {
109109
if (this.frame) {
110-
if (this.pageTurnBehavior === 'remove') {
110+
if (this.pageTurnBehavior === 'log') {
111+
this.options.remove();
112+
} else if (this.pageTurnBehavior === 'remove') {
111113
this.frame.remove();
112114
} else if (this.pageTurnBehavior === 'fade') {
113115
this.frame.style.opacity = 0;

0 commit comments

Comments
 (0)