mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
BUGFIX: Refactored bbcodehelp.js to use entwine.
This commit is contained in:
parent
5d1ac0961e
commit
3f3a84df8e
@ -1,12 +1,11 @@
|
||||
Behaviour.register({
|
||||
'#BBCodeHint': {
|
||||
(function($) {
|
||||
$.entwine('ss', function($){
|
||||
|
||||
$('#BBCodeHint').entwine({
|
||||
onclick: function() {
|
||||
if($('BBTagsHolder').style.display == "none") {
|
||||
Effect.BlindDown('BBTagsHolder');
|
||||
} else{
|
||||
Effect.BlindUp('BBTagsHolder');
|
||||
}
|
||||
return false;
|
||||
$('#BBTagsHolder').toggle();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
}(jQuery));
|
Loading…
Reference in New Issue
Block a user