Permalink
Browse files

added comment to js

  • Loading branch information...
1 parent f21e872 commit f8b24407b7da2846c806ba7845d1a82b06776915 Jon Price committed Apr 16, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 oscar/static/oscar/js/oscar/ui.js
@@ -66,6 +66,8 @@ $(document).ready(function()
minItems: 5,
onClick: true
});
+ // This activates colorbox on the product page
+ $('a[rel=lightbox]').colorbox();
}
else {
es_carousel.elastislide({
@@ -86,8 +88,7 @@ $(document).ready(function()
});
}
- // This activates colorbox
- $('a[rel=lightbox]').colorbox();
+
// This activates the promotional banner carousel
$('#myCarousel').carousel({

0 comments on commit f8b2440

Please sign in to comment.