mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-11-24 01:37:22 +01:00
Tweak screenshot notification script (minor edit)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace TweetDck.Core.Notification.Screenshot{
|
||||
|
||||
browser.FrameLoadEnd += (sender, args) => {
|
||||
if (args.Frame.IsMain && browser.Address != "about:blank"){
|
||||
ScriptLoader.ExecuteScript(args.Frame, "window.setTimeout(() => $TD_NotificationScreenshot.trigger(), 25)", "gen:screenshot");
|
||||
ScriptLoader.ExecuteScript(args.Frame, "window.setTimeout($TD_NotificationScreenshot.trigger, 25)", "gen:screenshot");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user