mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-17 12:15:47 +02:00
Add a 'Remind me later' button to update notifications
This commit is contained in:
parent
3e57cc045f
commit
c641a92d89
@ -112,6 +112,7 @@
|
|||||||
<p class='tdu-info'>Version ${version} is now available.</p>
|
<p class='tdu-info'>Version ${version} is now available.</p>
|
||||||
<div class='tdu-buttons'>
|
<div class='tdu-buttons'>
|
||||||
<button class='tdu-btn-download'>Update now</button>
|
<button class='tdu-btn-download'>Update now</button>
|
||||||
|
<button class='tdu-btn-later'>Remind me later</button>
|
||||||
<button class='tdu-btn-ignore'>Ignore this update</button>
|
<button class='tdu-btn-ignore'>Ignore this update</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -134,6 +135,11 @@
|
|||||||
$TDU.openBrowser(updateDownloadFallback);
|
$TDU.openBrowser(updateDownloadFallback);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
buttonDiv.children(".tdu-btn-later").click(function(){
|
||||||
|
clearTimeout(updateCheckTimeoutID);
|
||||||
|
ele.slideUp(hide);
|
||||||
|
});
|
||||||
|
|
||||||
buttonDiv.children(".tdu-btn-unsupported").click(function(){
|
buttonDiv.children(".tdu-btn-unsupported").click(function(){
|
||||||
$TDU.openBrowser("https://github.com/chylex/TweetDuck/wiki/Supported-Systems");
|
$TDU.openBrowser("https://github.com/chylex/TweetDuck/wiki/Supported-Systems");
|
||||||
|
Loading…
Reference in New Issue
Block a user