فهرست منبع

Global view: reduce overhead (#5496)

maTh 2 سال پیش
والد
کامیت
ee195354d9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      p/scripts/global_view.js

+ 1 - 1
p/scripts/global_view.js

@@ -12,7 +12,7 @@ function load_panel(link) {
 	panel_loading = true;
 	panel_loading = true;
 
 
 	const req = new XMLHttpRequest();
 	const req = new XMLHttpRequest();
-	req.open('GET', link, true);
+	req.open('GET', link + '&ajax=1', true);
 	req.responseType = 'document';
 	req.responseType = 'document';
 	req.onload = function (e) {
 	req.onload = function (e) {
 		if (this.status != 200) {
 		if (this.status != 200) {