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

Tweak screenshot notification script (minor edit)

This commit is contained in:
chylex 2017-01-26 06:46:19 +01:00
parent 467f7cd12f
commit b42cd1c048

View File

@ -12,7 +12,7 @@ public FormNotificationScreenshotable(Action callback, FormBrowser owner, Notifi
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");
}
};