|
|
@@ -883,7 +883,7 @@
|
|
|
|
|
|
(mobile-util/is-native-platform?)
|
|
|
(asset-link config label-text s metadata full_text))
|
|
|
-
|
|
|
+
|
|
|
(contains? (config/doc-formats) ext)
|
|
|
(asset-link config label-text s metadata full_text)
|
|
|
|
|
|
@@ -3059,7 +3059,7 @@
|
|
|
(when (> (- (util/time-ms) (:start-time config)) 100)
|
|
|
(load-more-blocks! config flat-blocks)))
|
|
|
has-more? (and
|
|
|
- (> (count flat-blocks) model/initial-blocks-length)
|
|
|
+ (>= (count flat-blocks) model/initial-blocks-length)
|
|
|
(some? (model/get-next-open-block (db/get-db) (last flat-blocks) db-id)))
|
|
|
dom-id (str "lazy-blocks-" (::id state))]
|
|
|
[:div {:id dom-id}
|