A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/issues/4074 below:

Console error while using BVTooltips in IE11

Error while using tooltips

In IE11 "document.contains" is not supported. Should be replaced with "document.body.contains". Could you please correct this?

Code snippet

In bv-tooltip.js the following code is causing the console error:

    this.$nextTick(() => {
      const target = this.getTarget()
      if (target && document.contains(target)) {
        // Copy the parent's scoped style attribute
        this.scopeId = getScopId(this.$parent)
        // Set up all trigger handlers and listeners
        this.listen()
      } else {
        /* istanbul ignore next */
        warn(`${this.templateType} unable to find target element in document`)
      }
    })
Versions

Libraries:

Environment:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4