Okay
  Public Ticket #1178107
Bugfix: include Javascript only once
Closed

Comments

  •  2
    Stephan started the conversation

    Hello, I noticed that the javascript is loaded multiple times if you use a created element more than once.
    For example you create an element "picture" with some addon javascript inside and you built a site with 3 of these "picture" elements: the addon javascript is loaded 3 times instead of only once. That isn't really good for the performance. Perhaps you could handle this with checking if the addon is already loaded/used in the site.

  •   Max replied privately