Simple Twitter Connect
Twitter Publisher box doesn't load properly if closed by default (2 posts)

  1. smerriman
    Posted 5 years ago #

    If you close one of the side admin widgets on the edit post screen, WordPress remembers your selection and will keep them closed. If you have the Twitter Publisher widget closed by default however, then click the arrow to open it, nothing will display - because the width is set with javascript:

    tbox['width'] = jQuery('#stc-manual-tweetbox').width();

    which is 0 at the point the page is loaded.

    You have to open the empty box then refresh the page to actually see the content.

  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 5 years ago #

    Yeah, the javascript doesn't fire except on page load. Known issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic