mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
12 lines
224 B
JavaScript
12 lines
224 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');
|
|
}
|
|
}
|
|
};
|