Test for a mobile browser before rendering buttons