From 7065f83f2d2df2e23a6acc8672cc9fe31f87b336 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Thu, 5 Dec 2013 11:39:09 -0500 Subject: [PATCH] Remove iPad specific styling for VuDL. --- themes/bootstrap/js/zoomy/zoomy.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/themes/bootstrap/js/zoomy/zoomy.js b/themes/bootstrap/js/zoomy/zoomy.js index 0b47f5cc3ad..8e1542a5a56 100644 --- a/themes/bootstrap/js/zoomy/zoomy.js +++ b/themes/bootstrap/js/zoomy/zoomy.js @@ -76,11 +76,9 @@ 'width' :state.map.width, 'height':state.map.height }); - if(navigator.userAgent.match(/iPad/i) == null) { - state.zoombar.css({ - 'bottom' :(state.map.size+state.map.margin-state.map.height)/2+state.map.height+3 - }); - } + state.zoombar.css({ + 'bottom' :(state.map.size+state.map.margin-state.map.height)/2+state.map.height+3 + }); // Initialize map lens state.scope.css({ 'width' :state.map.width-2, -- GitLab