Fix format selection help trigger.

This commit is contained in:
Tom Preston-Werner
2010-07-31 15:50:34 -04:00
parent 9cca26b2a1
commit db0f747a77
2 changed files with 4 additions and 2 deletions
@@ -165,7 +165,9 @@ $(function(){
$('#wiki_format').change(function() {
var target = $('#editbar .sections .toc div.current').get(0)
sectionItemClick.call(target)
if (target != undefined) {
sectionItemClick.call(target)
}
})
var sectionItemClick = function() {