mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
vueui: set arrow html entities via variables to avoid any encoding issues due to undeclared encoding in banner
This commit is contained in:
parent
ad6c816d4e
commit
0d40feb860
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="timeline">
|
||||
<div class="arrow previous" :class="{disabled: isScrollZero && !previousPeriod}" @click="scrollPrev" @dblclick.stop.prevent>◀</div>
|
||||
<div v-html="arrowPrev" class="arrow previous" :class="{disabled: isScrollZero && !previousPeriod}" @click="scrollPrev" @dblclick.stop.prevent></div>
|
||||
<div class="scroll" ref="periodScroll" :class="{highlight: highlight}">
|
||||
<div class="periods" ref="periods">
|
||||
<div v-for="subPeriod in period.children"
|
||||
@ -25,7 +25,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="arrow next" :class="{disabled: isScrollMax && !nextPeriod}" @click="scrollNext" @dblclick.stop.prevent>▶</div>
|
||||
<div v-html="arrowNext" class="arrow next" :class="{disabled: isScrollMax && !nextPeriod}" @click="scrollNext" @dblclick.stop.prevent></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -41,6 +41,8 @@ export default{
|
||||
nextPeriod: null,
|
||||
isScrollZero: true,
|
||||
isScrollMax: true,
|
||||
arrowPrev: "◀",
|
||||
arrowNext: "▶",
|
||||
};
|
||||
},
|
||||
created: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user