Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Enable jQuery noConflict (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs authored Aug 30, 2016
1 parent d75bfe5 commit 3843e80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### HEAD
* Enable jQuery noConflict ([#160](https://github.com/roots/soil/issues/160))
* Disable DNS Prefetch for WordPress Emoji (WP 4.6) ([#159](https://github.com/roots/soil/issues/159))

### 3.7.0: March 7th, 2016
* Use `home_url` in `root_relative_url` ([#147](https://github.com/roots/soil/issues/147))
* Add relative URLs to responsive images output ([#146](https://github.com/roots/soil/issues/146))
Expand Down
2 changes: 1 addition & 1 deletion modules/jquery-cdn.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function jquery_local_fallback($src, $handle = null) {
static $add_jquery_fallback = false;

if ($add_jquery_fallback) {
echo '<script>window.jQuery || document.write(\'<script src="' . $add_jquery_fallback .'"><\/script>\')</script>' . "\n";
echo '<script>(window.jQuery && jQuery.noConflict()) || document.write(\'<script src="' . $add_jquery_fallback .'"><\/script>\')</script>' . "\n";
$add_jquery_fallback = false;
}

Expand Down

0 comments on commit 3843e80

Please sign in to comment.