mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Pass multiple classes to classList.add / classList.remove (#30537)
This is supported by our currently supported browsers.
This commit is contained in:
+1
-2
@@ -113,8 +113,7 @@ class Popover extends Tooltip {
|
||||
|
||||
this.setElementContent(SelectorEngine.findOne(SELECTOR_CONTENT, tip), content)
|
||||
|
||||
tip.classList.remove(CLASS_NAME_FADE)
|
||||
tip.classList.remove(CLASS_NAME_SHOW)
|
||||
tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW)
|
||||
}
|
||||
|
||||
_addAttachmentClass(attachment) {
|
||||
|
||||
Reference in New Issue
Block a user