mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
12 lines
226 B
JavaScript
12 lines
226 B
JavaScript
var BBCode = {
|
|
spoiler: function(link) {
|
|
if ($(link.nextSibling).has_class('hidden')) {
|
|
$(link.nextSibling).gshow();
|
|
$(link).html('Hide');
|
|
} else {
|
|
$(link.nextSibling).ghide();
|
|
$(link).html('Show');
|
|
}
|
|
}
|
|
};
|