From 34b3c078ea1f6374494a839c249212f146008af2 Mon Sep 17 00:00:00 2001 From: Marcin Pietrzak Date: Tue, 31 Dec 2024 11:03:46 +0100 Subject: [PATCH] prepare new version --- assets/scripts/admin.js | 2 +- assets/scripts/admin.min.js | 2 +- assets/scripts/frontend.js | 2 +- assets/scripts/frontend.min.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/scripts/admin.js b/assets/scripts/admin.js index e9ee5ab..5a9803d 100644 --- a/assets/scripts/admin.js +++ b/assets/scripts/admin.js @@ -1,5 +1,5 @@ /** - * PWA — easy way to Progressive Web App - v1.6.7 + * PWA — easy way to Progressive Web App - v1.6.8 * https://github.com/iworks/iworks-pwa * Copyright (c) 2024; * Licensed GPLv3+ */ jQuery( document ).ready(function($) { diff --git a/assets/scripts/admin.min.js b/assets/scripts/admin.min.js index d300080..84c99fc 100644 --- a/assets/scripts/admin.min.js +++ b/assets/scripts/admin.min.js @@ -1,5 +1,5 @@ /** - * PWA — easy way to Progressive Web App - v1.6.7 + * PWA — easy way to Progressive Web App - v1.6.8 * https://github.com/iworks/iworks-pwa * Copyright (c) 2024; * Licensed GPL-3.0 */ jQuery(document).ready(function(a){window.setTimeout(function(){a(".iworks-pwa-notice-check-url .notice-dismiss").on("click",function(){var b=a(this).closest(".iworks-pwa-notice-check-url"),c={action:b.data("action"),nonce:b.data("nonce")};a.post(window.ajaxurl,c)})},1e3)}); \ No newline at end of file diff --git a/assets/scripts/frontend.js b/assets/scripts/frontend.js index f2c7e49..8205432 100644 --- a/assets/scripts/frontend.js +++ b/assets/scripts/frontend.js @@ -1,5 +1,5 @@ /** - * PWA — easy way to Progressive Web App - v1.6.7 + * PWA — easy way to Progressive Web App - v1.6.8 * https://github.com/iworks/iworks-pwa * Copyright (c) 2024; * Licensed GPLv3+ */ window.addEventListener('load', function(event) { diff --git a/assets/scripts/frontend.min.js b/assets/scripts/frontend.min.js index 4a89634..48dcabf 100644 --- a/assets/scripts/frontend.min.js +++ b/assets/scripts/frontend.min.js @@ -1,5 +1,5 @@ /** - * PWA — easy way to Progressive Web App - v1.6.7 + * PWA — easy way to Progressive Web App - v1.6.8 * https://github.com/iworks/iworks-pwa * Copyright (c) 2024; * Licensed GPL-3.0 */ window.addEventListener("load",function(a){var b;const c=document.querySelector("#iworks-pwa-add-button"),d=document.querySelector("#iworks-pwa-add-button-container");c&&window.addEventListener("beforeinstallprompt",function(a){a.preventDefault(),b=a,d.style.display="block",c.addEventListener("click",function(){d.style.display="none",b.prompt(),b.userChoice.then(function(a){"accepted"===a.outcome,b=null})})})}),"serviceWorker"in navigator&&navigator.serviceWorker.register(window.iworks_pwa.serviceWorkerUri).then(function(a){})["catch"](function(a){}); \ No newline at end of file