check if pager-target is not undefined