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 #286
This commit is contained in:
parent
22cef0a44c
commit
7f6cc0da01
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user