Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #301 from kabel/bugfix-300

Must load jQuery before loading colorbox.
  • Loading branch information...
commit 7841029a418dd1728c3cf3aec0891d7c4e94cc44 2 parents b175783 + 80acece
@saltybeagle saltybeagle authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 wdn/templates_3.1/scripts/modal.js
View
4 wdn/templates_3.1/scripts/modal.js
@@ -4,7 +4,9 @@ WDN.modal = (function() {
WDN.log("initialize modal");
// Colorbox CSS MUST load before the plugin script
WDN.loadCSS(WDN.getTemplateFilePath('css/header/colorbox.css'), function() {
- WDN.loadJS(WDN.getTemplateFilePath('scripts/plugins/colorbox/jquery.colorbox-min.js'), callback);
+ WDN.loadJQuery(function() {
+ WDN.loadJS(WDN.getTemplateFilePath('scripts/plugins/colorbox/jquery.colorbox-min.js'), callback);
+ });
});
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.