Skip to content

Commit

Permalink
fix open
Browse files Browse the repository at this point in the history
  • Loading branch information
rfhayashi committed Jan 3, 2021
1 parent cae0ec7 commit b44e1fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/portal/api.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
(defn open
"Open a new inspector window. A previous instance can be passed as
parameter to make sure it is open."
([] (open nil nil))
([] (open nil))
([portal-or-options]
(if (:session-id portal-or-options)
(open portal-or-options nil)
(open nil portal-or-options))))
(l/open portal-or-options nil)
(l/open nil portal-or-options))))

(defn close
"Close all current inspector windows."
Expand Down

0 comments on commit b44e1fb

Please sign in to comment.