1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00

Release notes could be shown nicer - but it's not supported by fennec.

This commit is contained in:
kkapsner 2017-07-16 00:26:40 +02:00
parent 736d6b0fb2
commit b39851b289

View File

@ -54,6 +54,11 @@ browser.storage.local.get().then(function(data){
var callbacks = { var callbacks = {
showReleaseNotes: function(){ showReleaseNotes: function(){
window.open("../releaseNotes.txt", "_blank"); window.open("../releaseNotes.txt", "_blank");
// would be nicer but is not supported in fennec
// browser.windows.create({
// url: "../releaseNotes.txt",
// type: "popup"
// });
}, },
clearPersistentRnd: function(){ clearPersistentRnd: function(){
browser.storage.local.set({persistentRndStorage: ""}); browser.storage.local.set({persistentRndStorage: ""});