From 47dde8ef4a7427c0f9508c26618853eb08190bfd Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 28 Dec 2020 13:51:39 +0800 Subject: [PATCH] Roo/bootstrap/TabPanel.js --- Roo/bootstrap/TabPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/bootstrap/TabPanel.js b/Roo/bootstrap/TabPanel.js index c92294b1c2..83e5b58820 100644 --- a/Roo/bootstrap/TabPanel.js +++ b/Roo/bootstrap/TabPanel.js @@ -98,7 +98,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, { this.el.on('click', this.onClick, this); - if(Roo.isTouch){ + if(Roo.isTouch && this.touchSlide){ this.el.on("touchstart", this.onTouchStart, this); this.el.on("touchmove", this.onTouchMove, this); this.el.on("touchend", this.onTouchEnd, this); -- 2.39.2