first commit 2
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
(function($) {
|
||||
"use strict";
|
||||
|
||||
$(function() {
|
||||
// 각 뉴스 티커 모듈에 대해 개별적으로 Cycle2를 초기화합니다.
|
||||
$('.issue-ticker-module').each(function() {
|
||||
var $this = $(this);
|
||||
var $content = $this.find('.issue-content');
|
||||
|
||||
// 이미 초기화되었다면 중복 실행 방지
|
||||
if ($content.data('cycle.opts')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$content.cycle();
|
||||
});
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user