summaryrefslogtreecommitdiffstats
path: root/modules-available/usblockoff/templates/usb-edit-rule.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/usblockoff/templates/usb-edit-rule.html')
-rw-r--r--modules-available/usblockoff/templates/usb-edit-rule.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/usblockoff/templates/usb-edit-rule.html b/modules-available/usblockoff/templates/usb-edit-rule.html
index e2bc5b65..8f31fdd9 100644
--- a/modules-available/usblockoff/templates/usb-edit-rule.html
+++ b/modules-available/usblockoff/templates/usb-edit-rule.html
@@ -32,6 +32,8 @@
var idArray = {{{usbJson}}};
document.addEventListener("DOMContentLoaded", function() {
+ $('a.btn[title]').tooltip({placement: "auto", html: true});
+
$('.switch-input').click(function() {
var $op = $(this).parent().find('select');
var val = $op.val();