Skip to content

Commit

Permalink
Keep timer button from hijacking form submit
Browse files Browse the repository at this point in the history
fixes behigh#12
  • Loading branch information
felixbuenemann committed Sep 21, 2015
1 parent 13bbe28 commit 66aa6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/javascripts/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
funcs.init = function()
{
var tpl = $(
'<span class="timerlog-timer"> <button class="timerlog-timer-button"></button>' + ' <em class="timerlog-timer-text"><small><span></span></small></em></span>'
'<span class="timerlog-timer"> <button type="button" class="timerlog-timer-button"></button>' + ' <em class="timerlog-timer-text"><small><span></span></small></em></span>'
);
button = tpl.find('button');
text = tpl.find('em span');
Expand Down

0 comments on commit 66aa6a9

Please sign in to comment.