1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Preview - first init - xfActivate execution position

Discussion in 'Resolved Bug Reports' started by cclaerhout, Mar 15, 2014.

  1. cclaerhout

    cclaerhout Well-Known Member

    This might have been done on purpose, but in the below code, shouldn't xfActivate be done after the prependTo? I've got some custom scripts that refuse to load when the activation is done before the elements are in the dom.
                $preview = $('<div />', { 'class': 'PreviewContainer'})
    But they will load if I click again because this time the activation is done after after:
  2. Mike

    Mike XenForo Developer Staff Member

    I think this was the only situation like that, so I've changed it now. Thanks.

Share This Page