1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-12 05:34:06 +02:00

Fix mouse back/forward button triggering navigation if history wasn't empty

Closes 
This commit is contained in:
chylex 2019-10-06 14:47:49 +02:00
parent 22cef0a44c
commit 7f6cc0da01

View File

@ -42,6 +42,9 @@ public override bool OnBeforeBrowse(IWebBrowser browserControl, IBrowser browser
BlockNextUserNavUrl = string.Empty;
return block;
}
else if (request.TransitionType.HasFlag(TransitionType.ForwardBack) && TwitterUrls.IsTweetDeck(frame.Url)){
return true;
}
return base.OnBeforeBrowse(browserControl, browser, frame, request, userGesture, isRedirect);
}