|
@@ -13,9 +13,9 @@
|
|
|
[]
|
|
[]
|
|
|
(when-not (and (or (util/electron?)
|
|
(when-not (and (or (util/electron?)
|
|
|
(mobile-util/native-ios?))
|
|
(mobile-util/native-ios?))
|
|
|
- (config/local-file-based-graph? (state/get-current-repo)))
|
|
|
|
|
|
|
+ (or (config/local-file-based-graph? (state/get-current-repo))
|
|
|
|
|
+ (config/db-based-graph? (state/get-current-repo))))
|
|
|
(try
|
|
(try
|
|
|
- (prn "render local images")
|
|
|
|
|
(let [images (array-seq (gdom/getElementsByTagName "img"))
|
|
(let [images (array-seq (gdom/getElementsByTagName "img"))
|
|
|
get-src (fn [image] (.getAttribute image "src"))
|
|
get-src (fn [image] (.getAttribute image "src"))
|
|
|
local-images (filter
|
|
local-images (filter
|