Fixed javascript event. issue - stopped Firefox working

This commit is contained in:
laf
2015-02-27 11:57:43 +00:00
parent 83922b10d9
commit dae96388e8

View File

@ -152,7 +152,7 @@ $('#add_line').click('', function(e) {
});
$('button[name="control-add"],button[name="placeholder-add"],button[name="operator-add"]').click('', function(e) {
event.preventDefault();
e.preventDefault();
var type = $(this).data("type");
var value = $(this).data("value");
var line = $('#line').val();