From 6d451ad99d02ed60ced937901a9d8b8323999af3 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Wed, 16 Sep 2015 09:46:55 +0200 Subject: [PATCH] Change destroy -> dispose --- js/src/tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 151cd6f515..55b9d58984 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -612,7 +612,7 @@ const Tooltip = (($) => { let _config = typeof config === 'object' ? config : null - if (!data && /destroy|hide/.test(config)) { + if (!data && /dispose|hide/.test(config)) { return }