We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbf1b16 commit 09d05afCopy full SHA for 09d05af
1 file changed
lib/ui/views/reader/reader_viewmodel.dart
@@ -408,18 +408,13 @@ class ReaderViewModel extends ReactiveViewModel {
408
}
409
410
Future<void> toggleSecondaryAreaHTML(bool showSecondaryArea) async {
411
- // TODO
412
if (showSecondaryArea == false) {
413
await webviewController.runJavaScript("""
414
- document.addEventListener("DOMContentLoaded", () => {
415
- document.getElementById('container').classList.add('hidden');
416
- });
+ document.getElementById('container').classList.add('hidden');
417
""");
418
} else {
419
420
421
- document.getElementById('container').classList.remove('hidden');
422
+ document.getElementById('container').classList.remove('hidden');
423
424
425
0 commit comments