From ce47589ce3f96b6674a1eecec14117536475db1e Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 2 Feb 2017 10:39:48 -0500 Subject: Shiftnet style fixes --- ShiftOS.WinForms/Applications/Shiftnet.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ShiftOS.WinForms/Applications/Shiftnet.cs') diff --git a/ShiftOS.WinForms/Applications/Shiftnet.cs b/ShiftOS.WinForms/Applications/Shiftnet.cs index d4183a4..2822948 100644 --- a/ShiftOS.WinForms/Applications/Shiftnet.cs +++ b/ShiftOS.WinForms/Applications/Shiftnet.cs @@ -43,27 +43,26 @@ namespace ShiftOS.WinForms.Applications string html = $@" @@ -84,7 +83,7 @@ namespace ShiftOS.WinForms.Applications private void wbcanvas_Navigating(object sender, WebBrowserNavigatingEventArgs e) { - if (CurrentUrl != e.Url.ToString()) + if (CurrentUrl != e.Url.ToString() && !e.Url.ToString().StartsWith("about:")) { e.Cancel = true; Future.Clear(); -- cgit v1.2.3