He means neither, since he's using $(window).trigger('resize') in the code to trigger the function without having to click or resize. I'm having similar issues. Instead of triggering it with .trigger(), I just pissed on my code by calling the function right where I wanted it to be triggered: resize(). In my case it was onHashChange( 'loadbookmarkhash' );
Seems to work.