Uncaught Error: Mismatched anonymous define() module

Issue #13 new
Former user created an issue

We're seeing the following error when we have the boostrapelements plugin AND the block_sharing_cart plugin installed:

Uncaught Error: Mismatched anonymous define() module: function(n){"use strict";var a=function(e){return!1===e||""===e||null==e},i=function(e){return 0<n(e).length},o=function(e){return"string"==typeof e||e instanceof String},r=function(e,t){return-1!==n.inArray(e,t)},f=function(e,t){this._id=f._idCounter++,this.element=n(e).addClass("iconpicker-element"),this._trigger("iconpickerCreate"),this.options=n.extend({},f.defaultOptions,this.element.data(),t),this.options.templates=n.extend({},f.defaultOptions.templates,this.options.templates),this.options.originalPlacement=this.options.placement,this.container=!!i(this.options.container)&&n(this.options.container),!1===this.container&&(this.element.is(".dropdown-toggle")?this.container=n("~ .dropdown-menu:first",this.element):this.container=this.element.is("input,textarea,button,.btn")?this.element.parent():this.element),this.container.addClass("iconpicker-container"),this.isDropdownMenu()&&(this.options.templates.search=!1,this.options.templates.buttons=!1,…

It causes all drop downs on the page to break. See https://github.com/donhinkelman/moodle-block_sharing_cart/issues/21 for additional history on the issue. Thank you!

Comments (0)

  1. Log in to comment