Skip to content

Commit

Permalink
added nyromodal and fixed width scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
wyoumans committed Oct 27, 2012
1 parent 531f87b commit dce13b3
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 20 deletions.
14 changes: 7 additions & 7 deletions core/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ jQuery(document).ready(function($) {
// initialize popover
$('[rel=popover]').popover();

$('.accordion').on('show', function (e) {
$(e.target).prev('.accordion-heading').find('.accordion-toggle').addClass('active');
});
$('.accordion').on('show', function (e) {
$(e.target).prev('.accordion-heading').find('.accordion-toggle').addClass('active');
});

$('.accordion').on('hide', function (e) {
$(this).find('.accordion-toggle').not($(e.target)).removeClass('active');
});
$('.accordion').on('hide', function (e) {
$(this).find('.accordion-toggle').not($(e.target)).removeClass('active');
});


/* --------------------------------------------------------
External links
-------------------------------------------------------- */

$(window).load(function() {
$(window).load(function() {

$('a[rel=external]').attr('target','_blank');

Expand Down
Loading

0 comments on commit dce13b3

Please sign in to comment.