Merge branch 'develop' into wip/laravel-6

This commit is contained in:
Luke Towers 2020-05-21 09:47:38 -06:00
commit 908d2f91c4
3 changed files with 11 additions and 6 deletions

View File

@ -59,10 +59,10 @@
if (location.protocol === 'https:') {
// Unregister all service workers before signing in to prevent cache issues, see github issue: #3707
navigator.serviceWorker.getRegistrations().then(
function(registrations) {
for (let registration of registrations) {
function (registrations) {
registrations.forEach(function (registration) {
registration.unregister();
}
});
}
);
}

View File

@ -46,10 +46,10 @@
if (location.protocol === 'https:') {
// Unregister all service workers before signing in to prevent cache issues, see github issue: #3707
navigator.serviceWorker.getRegistrations().then(
function(registrations) {
for (let registration of registrations) {
function (registrations) {
registrations.forEach(function (registration) {
registration.unregister();
}
});
}
);
}

View File

@ -6,6 +6,11 @@
data-handler="onLoadUpdates">
<?= e(trans('system::lang.updates.check_label')) ?>
</a>
<a
href="<?= Backend::url('system/updates/install/themes') ?>"
class="btn btn-success oc-icon-plus">
<?= e(trans('system::lang.themes.install')) ?>
</a>
<a
href="<?= Backend::url('system/updates/install') ?>"
class="btn btn-success oc-icon-plus">