bugfix: webkit scroll #826
This commit is contained in:
@@ -7,8 +7,16 @@
|
||||
<slot name="header" />
|
||||
</header>
|
||||
|
||||
<section ref="scrollablecenter" class="med-col-6 large-col-6" @scroll.passive="onScrollCenter">
|
||||
<slot />
|
||||
<section
|
||||
class="med-col-6 large-col-6"
|
||||
@scroll.passive="onScrollCenter"
|
||||
>
|
||||
<div
|
||||
class="wrapper"
|
||||
ref="scrollablecenter"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<nav class="med-col-3 large-col-3" :class="{ opened: navopened }">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<nav id="header-menu">
|
||||
<!-- <span v-if="!corpusLoaded" class="loading">Loading ...</span> -->
|
||||
<ul>
|
||||
<li >
|
||||
<li>
|
||||
<span v-if="!corpusLoaded" class="loading">Loading ...</span>
|
||||
<router-link v-else to="/corpus">Corpus</router-link>
|
||||
</li>
|
||||
|
||||
+6
-2
@@ -34,8 +34,12 @@ Vue.use(VueScrollTo)
|
||||
Vue.component('v-select', VueSelect)
|
||||
Vue.use(Vue2TouchEvents)
|
||||
|
||||
window.apipath = process.env === 'prod' ? `http://${window.location.hostname}/api` : 'http://localhost:8984'
|
||||
|
||||
// https://apple.stackexchange.com/questions/17077/add-a-hosts-file-entry-without-jailbreaking
|
||||
window.apipath = process.env === 'prod' || window.location.hostname === 'dev.gdp.fr' ? `http://${window.location.hostname}/api` : 'http://localhost:8984'
|
||||
// if (window.location.hostname === 'dev.gdp.fr') {
|
||||
// window.apipath = `http://${window.location.hostname}/api`
|
||||
// }
|
||||
// window.apipath = `http://${window.location.hostname}:8984`
|
||||
// sync(store, router) // done. Returns an unsync callback fn
|
||||
|
||||
new Vue({
|
||||
|
||||
Reference in New Issue
Block a user