Skip to content

Commit

Permalink
[STYLE] change code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed Jul 14, 2016
1 parent 0b8efae commit 3a339df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dev/js/main/header/header.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// =================================
// Global variables (jshint):

/*global touchSupport*/
/*global touchSupport*/
// =================================

jQuery(function($) {
Expand Down
12 changes: 6 additions & 6 deletions dev/js/main/plugins/news/news.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// news Timeline
$('.js__news-timeline__item').on('click', function(e) {
if ($(this).hasClass('collapsed')){
e.preventDefault();
$(this).removeClass('collapsed');
$(this).closest('.js__news-timeline__item-wrp').find('.js__news-timeline__date').addClass('open');
}
});
if ($(this).hasClass('collapsed')){
e.preventDefault();
$(this).removeClass('collapsed');
$(this).closest('.js__news-timeline__item-wrp').find('.js__news-timeline__date').addClass('open');
}
});

// news Cards
$('.js__news-cards__dotdotdot').dotdotdot({
Expand Down

0 comments on commit 3a339df

Please sign in to comment.