1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-01-03 12:09:23 +00:00

Fix: Disable pinch to zoom

This commit is contained in:
Rokt33r
2015-07-30 04:11:31 +09:00
parent 9e929f80ad
commit 920704075e
5 changed files with 21 additions and 3 deletions

View File

@@ -1,11 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>CodeXen Popup</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<link rel="stylesheet" href="../../node_modules/font-awesome/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8">
<link rel="shortcut icon" href="favicon.ico">
<script>
document.addEventListener('mousewheel', function(e) {
if(e.deltaY % 1 !== 0) {
e.preventDefault()
}
})
if (!Object.assign) {
Object.defineProperty(Object, 'assign', {
enumerable: false,

View File

@@ -2,11 +2,19 @@
<html>
<head>
<title>CodeXen</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<link rel="stylesheet" href="../../node_modules/font-awesome/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8">
<link rel="shortcut icon" href="favicon.ico">
<script>
document.addEventListener('mousewheel', function(e) {
if(e.deltaY % 1 !== 0) {
e.preventDefault()
}
})
if (!Object.assign) {
Object.defineProperty(Object, 'assign', {
enumerable: false,

View File

@@ -59,7 +59,6 @@
margin-bottom 15px
height 44px
text-align center
border-radius 22px
.alertInfo
alertInfo()
.alertError

View File

@@ -8,7 +8,7 @@
&.hide
display none
.modal
width 500px
width 600px
margin 50px auto 0
absolute top left right
background-color white