mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
12 lines
234 B
JavaScript
12 lines
234 B
JavaScript
var BBCode = {
|
|
spoiler: function(link) {
|
|
if($(link.nextSibling).has_class('hidden')) {
|
|
$(link.nextSibling).show();
|
|
$(link).html('Hide');
|
|
} else {
|
|
$(link.nextSibling).hide();
|
|
$(link).html('Show');
|
|
}
|
|
}
|
|
};
|