Bug in js function postTabs_show()
-
My site have page with several post-tabs.
js function postTabs_show hide all elements on page with class .postTabs_divs, even in other posts.
My fix:
replacejQuery('.postTabs_divs').each(function() { jQuery(this).hide(); });
with
jQuery('.postTabs_divs').each(function() { var _info = this.id.split('_'); if( _info[_info.length-1] == post ){ return ; } jQuery(this).hide(); });
- The topic ‘Bug in js function postTabs_show()’ is closed to new replies.