184
edits
(are you happy now epyep?) |
(do you not like let) |
||
(One intermediate revision by the same user not shown) | |||
Line 52: | Line 52: | ||
if (!!$('.cyclist').filter(function() { return $(this).is(":hover"); }).length) return; | if (!!$('.cyclist').filter(function() { return $(this).is(":hover"); }).length) return; | ||
$('.cyclist > :not(:hidden)').hide().each(function() { | $('.cyclist > :not(:hidden)').hide().each(function() { | ||
var elem = $(this) | var elem = $(this); | ||
elem.next().show(); | elem.next().show(); | ||
if (elem.is(':last-child')) elem.siblings().first().show(); | if (elem.is(':last-child')) elem.siblings().first().show(); | ||
Line 60: | Line 60: | ||
function parseFormatCodes (text) { | function parseFormatCodes (text) { | ||
var spans = 0; | |||
var res = ''; | |||
for (var i = 0; i < text.length; i++) { | for (var i = 0; i < text.length; i++) { | ||
if (text[i] == '\\') { | if (text[i] == '\\') { |