Bootstrap.js arroja un error de opción de selector: la opción de selector debe especificarse al inicializar la información sobre herramientas en el objeto windows.document

Cuando intento ejecutar mi aplicación web en bootstrap.js aparece el siguiente error:

Excepción no controlada en la línea 1306, columna 7 en localhost: 7904 / Scripts / bootstrap.js 0x800a139e - Error de tiempo de ejecución de JavaScript:selector Se debe especificar la opción al inicializar la información sobre herramientas en el objeto window.document.

Estas son las siguientes líneas de código a las que se refiere:

  Tooltip.prototype.init = function (type, element, options) {
this.enabled   = true
this.type      = type
this.$element  = $(element)
this.options   = this.getOptions(options)
this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
this.inState   = { click: false, hover: false, focus: false }

if (this.$element[0] instanceof document.constructor && !this.options.selector) {
  //LINE 1306 IS RIGHT HERE
  throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
}

var triggers = this.options.trigger.split(' ')

for (var i = triggers.length; i--;) {
  var trigger = triggers[i]

  if (trigger == 'click') {
    this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
  } else if (trigger != 'manual') {
    var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focusin'
    var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'

    this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
    this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
  }
}

this.options.selector ?
  (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
  this.fixTitle()}

Cualquier ayuda sobre este asunto sería apreciada, gracias.

Respuestas a la pregunta(1)

Su respuesta a la pregunta