Only show "view source" if popupfunc has been set