mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
removing console logs
This commit is contained in:
@@ -26,7 +26,6 @@ var ajaxify = {};
|
|||||||
};
|
};
|
||||||
|
|
||||||
ajaxify.go = function(url, callback, template, quiet) {
|
ajaxify.go = function(url, callback, template, quiet) {
|
||||||
console.log('go', url, quiet);
|
|
||||||
// "quiet": If set to true, will not call pushState
|
// "quiet": If set to true, will not call pushState
|
||||||
|
|
||||||
// leave room and join global
|
// leave room and join global
|
||||||
@@ -44,7 +43,6 @@ var ajaxify = {};
|
|||||||
|
|
||||||
if (templates[tpl_url]) {
|
if (templates[tpl_url]) {
|
||||||
if (quiet !== true) {
|
if (quiet !== true) {
|
||||||
console.log('pushing state');
|
|
||||||
window.history.pushState({
|
window.history.pushState({
|
||||||
"url": url
|
"url": url
|
||||||
}, url, "/" + url);
|
}, url, "/" + url);
|
||||||
|
|||||||
Reference in New Issue
Block a user