mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 16:57:11 +02:00
Suppress JavaScript warnings
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
76f8c37150
commit
39f80f08d5
@ -45,8 +45,10 @@ const ConfigField = {
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
console.log("config-field updated");
|
||||
$("[data-toggle=tooltip]").tooltip("dispose");
|
||||
$("[data-toggle=tooltip]").tooltip("enable");
|
||||
if ($("[data-toggle=tooltip]").tooltip) {
|
||||
$("[data-toggle=tooltip]").tooltip("dispose");
|
||||
$("[data-toggle=tooltip]").tooltip("enable");
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -41,11 +41,13 @@ $(document).ready(() => {
|
||||
},
|
||||
mounted: function() {
|
||||
this.parse = {};
|
||||
this.$on("hook:updated", () => {
|
||||
this.$nextTick(() => {
|
||||
},
|
||||
updated: function() {
|
||||
this.$nextTick(() => {
|
||||
if ($("[data-toggle=tooltip]").tooltip) {
|
||||
$("[data-toggle=tooltip]").tooltip("dispose");
|
||||
$("[data-toggle=tooltip]").tooltip("enable");
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user