Skip to content

Commit 2e8df39

Browse files
committed
fix copy-paste error
1 parent e9c3c6f commit 2e8df39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SimpleImageIO/FlipBook.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ public GeneratedCode Generate() {
420420
}
421421

422422
string id = "flipbook-" + Guid.NewGuid().ToString();
423-
string style = customCSS ?? $"style='width:{htmlWidth}px; height:{htmlHeight}px; resize: both; overflow: auto;'></div>";
424-
string html = $"<div id='{id}' {style}";
423+
string style = customCSS ?? $"width:{htmlWidth}px; height:{htmlHeight}px; resize: both; overflow: auto;";
424+
string html = $"<div id='{id}' style='{style}'></div>";
425425

426426
string initialTMOStr = "null";
427427
if (initialTMO != null) {

0 commit comments

Comments
 (0)