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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -59,7 +59,6 @@
|
||||
margin-bottom 15px
|
||||
height 44px
|
||||
text-align center
|
||||
border-radius 22px
|
||||
.alertInfo
|
||||
alertInfo()
|
||||
.alertError
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
&.hide
|
||||
display none
|
||||
.modal
|
||||
width 500px
|
||||
width 600px
|
||||
margin 50px auto 0
|
||||
absolute top left right
|
||||
background-color white
|
||||
|
||||
Reference in New Issue
Block a user