Fix format selection help trigger.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user