summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/index.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/index.html b/test/index.html
index 8c1eea7..4c306b2 100644
--- a/test/index.html
+++ b/test/index.html
@@ -24,9 +24,7 @@
</div>
<script type="module">
import LightBox from '/dist/libra.min.js';
- const lightbox = new LightBox({
- container: '.libra'
- });
+ new LightBox({ selector: 'img[data-libra]' });
</script>
</body>
</html>