Merge branch 'master' into devel
This commit is contained in:
commit
d344ffd171
@ -42,8 +42,6 @@ self.addEventListener('fetch', function (event) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
function update(request) {
|
function update(request) {
|
||||||
console.log(request);
|
|
||||||
console.log(caches.match(request));
|
|
||||||
return caches.match(request).then(
|
return caches.match(request).then(
|
||||||
function (response) {
|
function (response) {
|
||||||
if (response) {
|
if (response) {
|
||||||
@ -61,7 +59,6 @@ self.addEventListener('fetch', function (event) {
|
|||||||
|
|
||||||
function refresh(response) {
|
function refresh(response) {
|
||||||
if(response){
|
if(response){
|
||||||
console.log("refresh");
|
|
||||||
return self.clients.matchAll().then(function (clients) {
|
return self.clients.matchAll().then(function (clients) {
|
||||||
clients.forEach(function (client) {
|
clients.forEach(function (client) {
|
||||||
var message = {
|
var message = {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div th:fragment="header (page, guild_name, redirect_url)">
|
<div th:fragment="header (page, guild_name, redirect_url)">
|
||||||
<nav class="blue-grey darken-4 z-depth-3" role="navigation" >
|
<nav class="blue-grey darken-4 z-depth-3" role="navigation" >
|
||||||
<div class="nav-wrapper container">
|
<div class="nav-wrapper container">
|
||||||
<a id="logo-container" href="/" class="brand-logo">Claptrap Bot</a>
|
<a id="logo-container" href="/" class="brand-logo" style="white-space: nowrap">Claptrap Bot</a>
|
||||||
<ul class="right hide-on-med-and-down">
|
<ul class="right hide-on-med-and-down">
|
||||||
<li>
|
<li>
|
||||||
<a class="nav-change-guild truncate waves-effect waves-light btn-flat grey-text text-darken-1" th:text="${guild_name}" style="margin-top: 2px;margin-right: 0px;"></a>
|
<a class="nav-change-guild truncate waves-effect waves-light btn-flat grey-text text-darken-1" th:text="${guild_name}" style="margin-top: 2px;margin-right: 0px;"></a>
|
||||||
|
Loading…
Reference in New Issue
Block a user