Merge branch 'master' into devel

This commit is contained in:
Sebastien 2018-09-19 09:20:40 +03:00
commit d344ffd171
2 changed files with 1 additions and 4 deletions

View File

@ -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 = {

View File

@ -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>