Skip to content

Fix jQuery noconflict#28

Open
Kekke88 wants to merge 1 commit into
zurb:masterfrom
Kekke88:master
Open

Fix jQuery noconflict#28
Kekke88 wants to merge 1 commit into
zurb:masterfrom
Kekke88:master

Conversation

@Kekke88

@Kekke88 Kekke88 commented Mar 19, 2014

Copy link
Copy Markdown

I had a problem with my Joomla site that throw a conflict error.

I had a problem with my Joomla site that throw a conflict error.
@nikolov-tmw

Copy link
Copy Markdown

I can confirm that the same issue exists with WordPress sites.

In my case I didn't have to change lines 19 to 21 - I only changed the first line to jQuery(document).ready(function($) {

Unless I'm wrong, I don't see a reason to change $ to jQuery for lines 19 to 21 - it's all wrapped in the jQuery(document).ready() call which gets jQuery as it's argument.

@pronebird

Copy link
Copy Markdown

I cannot even try it because of that.

NicholasRBowers added a commit to NicholasRBowers/responsive-tables that referenced this pull request Apr 15, 2015
@joelpittet

Copy link
Copy Markdown

Wrap in closure?

(function($, window, document) {
 // $ stuff here
})(jQuery, window, document);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants