mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge pull request #524 from laf/issue-laf-129
Fixed javascript event. issue - stopped Firefox working
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user