Files
stopwatch/app/views/stopwatch_timers/create.js.erb
2021-10-05 11:26:51 +08:00

6 lines
104 B
Plaintext

hideModal();
window.stopwatch.timerStarted(
<%= raw Stopwatch::Timer.new(User.current).to_json %>
);