Skip to content

Commit 2c8a144

Browse files
committed
fixup
1 parent 2682317 commit 2c8a144

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/widgets/tab.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -574,10 +574,7 @@ impl Tab {
574574
let surface = pages::hypertext::Surface::new(imp.config.borrow().clone());
575575
imp.scroll_win.set_child(Some(surface.root()));
576576

577-
let p = pages::Hypertext::new(
578-
self.url(),
579-
self.imp().surface.borrow().as_ref().unwrap().clone(),
580-
);
577+
let p = pages::Hypertext::new(self.url(), surface);
581578
p.connect_local(
582579
"open",
583580
false,

0 commit comments

Comments
 (0)