Edit profile on its way

This commit is contained in:
Alexandre Bourlier
2018-05-14 21:16:04 +02:00
parent 643db32ed0
commit 61eb9bae4a
6 changed files with 40 additions and 15 deletions

View File

@ -29,6 +29,7 @@
<?php require_once('src/html/dashboard.html'); ?>
<?php require_once('src/html/members.html'); ?>
<?php require_once('src/html/member.html'); ?>
<?php require_once('src/html/edit-profile.html'); ?>
<?php require_once('src/html/projects.html'); ?>
<?php require_once('src/html/project.html'); ?>
<?php require_once('src/html/channels.html'); ?>
@ -60,13 +61,13 @@
}
// Listen for changes
setInterval(function() {
if (currentRoute != window.location.href) {
currentRoute = getCurrentRoute();
//setInterval(function() {
//if (currentRoute != window.location.href) {
//currentRoute = getCurrentRoute();
insertChatIfNeeded();
}
}, 15000);
//insertChatIfNeeded();
//}
//}, 250);
// Inserts a chat in the current view if needed
function insertChatIfNeeded() {