Skip to content

Commit 4bbca61

Browse files
committed
fix clear for enlarge view
1 parent b61868d commit 4bbca61

File tree

2 files changed

+35
-7
lines changed

2 files changed

+35
-7
lines changed

calcit.cirru

Lines changed: 30 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compact.cirru

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@
6767
.-metaKey event
6868
case-default (-> @*store :router :name)
6969
do $ println "\"no thing to clear in" (-> @*store :router :name)
70-
:home $ dispatch! (:: :process/clear)
70+
:home $ do
71+
dispatch! $ :: :process/clear
72+
if-let
73+
enlarge-view $ -> @*store :session w-js-log :enlarge-view
74+
dispatch! $ :: :process/shorten-content enlarge-view
7175
:history $ dispatch! (:: :process/clear-history)
7276
:process $ dispatch!
7377
:: :process/shorten-content $ -> @*store :router :params :id

0 commit comments

Comments
 (0)