Commit 41a887e6 authored by Ricardo J. Mendez's avatar Ricardo J. Mendez

BUGFIX: Wasn't handling tab re-activation after suspend correctly

parent cbf76c58
......@@ -117,8 +117,8 @@
(= (:windowId old-tab) (:windowId current-tab)))]
(console/trace "From suspend:" is-same? suspend-info)
(if is-same?
(dispatch [:handle-deactivation old-tab (:time suspend-info)])
(dispatch [:handle-activation old-tab (:start-time old-tab)]))
(dispatch [:handle-activation old-tab (:start-time old-tab)])
(dispatch [:handle-deactivation old-tab (:time suspend-info)]))
(dispatch [:data-set :suspend-info] nil)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment