Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUGFIX: Refactored bbcodehelp.js to use entwine.
- Loading branch information
Sam Minnee
committed
Mar 24, 2012
1 parent
5d1ac09
commit 3f3a84d
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)); |