Browse Source

Rename feed_following to feed_follow_num

shortcutme 7 years ago
parent
commit
c341ca45fd
2 changed files with 4 additions and 3 deletions
  1. 3 2
      js/all.js
  2. 1 1
      js/utils/Follow.coffee

+ 3 - 2
js/all.js

@@ -1205,7 +1205,7 @@
       })(this));
       return setTimeout(((function(_this) {
         return function() {
-          if (typeof Page.site_info.feed_following !== "undefined" && Page.site_info.feed_following === null) {
+          if (typeof Page.site_info.feed_follow_num !== "undefined" && Page.site_info.feed_follow_num === null) {
             return _this.followDefaultFeeds();
           }
         };
@@ -1304,6 +1304,7 @@
 }).call(this);
 
 
+
 /* ---- /1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8/js/utils/InlineEditor.coffee ---- */
 
 
@@ -3160,4 +3161,4 @@
 
   window.Page = new ZeroBlog();
 
-}).call(this);
+}).call(this);

+ 1 - 1
js/utils/Follow.coffee

@@ -31,7 +31,7 @@ class Follow extends Class
 			@elem.css "display", "inline-block"
 
 		setTimeout ( =>
-			if typeof(Page.site_info.feed_following) != "undefined" and Page.site_info.feed_following == null  # Has not manipulated followings yet
+			if typeof(Page.site_info.feed_follow_num) != "undefined" and Page.site_info.feed_follow_num == null  # Has not manipulated followings yet
 				@followDefaultFeeds()
 		), 100