]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move function
authorXhmikosR <xhmikosr@gmail.com>
Fri, 26 Jun 2020 15:40:54 +0000 (18:40 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 12 Jul 2020 12:52:25 +0000 (15:52 +0300)
js/src/popover.js

index e17704d45df342a0e118c8c56b88e8011da387c6..4f8aeeb2c3cad9f617ae32f667f70336e9b7997f 100644 (file)
@@ -116,12 +116,12 @@ class Popover extends Tooltip {
     tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW)
   }
 
+  // Private
+
   _addAttachmentClass(attachment) {
     this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`)
   }
 
-  // Private
-
   _getContent() {
     return this.element.getAttribute('data-content') ||
       this.config.content