mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +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');
|
|
}
|
|
}
|
|
};
|