Edit profile on its way
This commit is contained in:
13
index.php
13
index.php
@ -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() {
|
||||
|
Reference in New Issue
Block a user