Skip to content

jQuery no.conflict issue #365

@joomlaplates-de

Description

@joomlaplates-de

By specifying the "true" parameter, according to the jQuery documentation:
api.jquery.com/jquery.noConflict/
..
A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself).
This is bad practice and it's a bug that should be fixed in.

/libraries/astroid/framework/library/astroid/Component/Includer.php

And this is the line that in my opinion needs to be removed:
$content .= '<script>jQuery.noConflict(true);</script>';
..
Maybe add an option in the PLugin to switch it on or off!
..
Greating Peter

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions