Sha256: 8e521c05727a6d7dedd8fd80664aa03b5df14abb18ca240a4e1f5025b0bee9b5
Contents?: true
Size: 536 Bytes
Versions: 80
Compression:
Stored size: 536 Bytes
Contents
var metas = document.getElementsByTagName('meta'); var i; if (navigator.userAgent.match(/iPhone/i)) { for (i=0; i<metas.length; i++) { if (metas[i].name == "viewport") { metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0"; } } document.addEventListener("gesturestart", gestureStart, false); } function gestureStart() { for (i=0; i<metas.length; i++) { if (metas[i].name == "viewport") { metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6"; } } }
Version data entries
80 entries across 80 versions & 8 rubygems