17,230
edits
m (might need to pass the data to the handler; I don't have the hang of scope in js yet) |
mNo edit summary |
||
Line 29: | Line 29: | ||
console.log( target ); | console.log( target ); | ||
console.log( tabstate ); | console.log( tabstate ); | ||
console.log( tabstate[target] ); | |||
var content = tabstate[target].join( ' ' ); | var content = tabstate[target].join( ' ' ); | ||
$('#'+target+' div[data-tab-content="'+content+'"]').show(); | $('#'+target+' div[data-tab-content="'+content+'"]').show(); |