Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX: Refactored bbcodehelp.js to use entwine.

  • Loading branch information...
commit 3f3a84df8ec68ce758d0b267100c33e70023315c 1 parent 5d1ac09
@sminnee sminnee authored
Showing with 8 additions and 9 deletions.
  1. +8 −9 javascript/bbcodehelp.js
View
17 javascript/bbcodehelp.js
@@ -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));
Please sign in to comment.
Something went wrong with that request. Please try again.