8000 fix elastic header example in IE · rabbitocat/vue@ad78e60 · GitHub
[go: up one dir, main page]

Skip to content

Commit ad78e60

Browse files
committed
fix elastic header example in IE
1 parent 9a0c36e commit ad78e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/elastic-header/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script src="http://dynamicsjs.com/lib/dynamics.js"></script>
99
<link rel="stylesheet" href="style.css">
1010
<!-- template for the component -->
11-
<template id="header-view-template" style="display:none">
11+
<script type="x/template" id="header-view-template">
1212
<div class="draggable-header-view"
1313
@mousedown="startDrag" @touchstart="startDrag"
1414
@mousemove="onDrag" @touchmove="onDrag"
@@ -23,7 +23,7 @@
2323
<slot name="content"></slot>
2424
</div>
2525
</div>
26-
</template>
26+
</script>
2727
</head>
2828
<body @touchmove.prevent>
2929

0 commit comments

Comments
 (0)
0