huai-sian 3 gadi atpakaļ
vecāks
revīzija
41f3eba5fb
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      user.html

+ 3 - 2
user.html

@@ -687,16 +687,17 @@ $(document).ready(function($) {
   var url = 'https://api.ptt.cx:8750/api/v1/user/';
   var access_token = get_access_token();
   var headers = {'Authorization': 'Bearer ' + access_token}
-
+  let num_per_page = 20;
+  
 
   $.ajax({
     url: url,
     headers: headers,
     success: function(res, status, jqXHR) {
       console.log(res); // test
- 
       var temp = "";
       var adminStr = "";
+      
       let f = 0;
       for (let i=0; i < res.length; i++) {
         if (res[i].userid) {