summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/bootstrap3/assets/js/flowr.plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/bootstrap3/assets/js/flowr.plugin.js')
-rw-r--r--nikola/data/themes/bootstrap3/assets/js/flowr.plugin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/nikola/data/themes/bootstrap3/assets/js/flowr.plugin.js b/nikola/data/themes/bootstrap3/assets/js/flowr.plugin.js
index a6ab900..732fa3d 100644
--- a/nikola/data/themes/bootstrap3/assets/js/flowr.plugin.js
+++ b/nikola/data/themes/bootstrap3/assets/js/flowr.plugin.js
@@ -180,7 +180,7 @@
}
} //utils
- // If the resposive var is set to true then listen for resize method
+ // If the responsive var is set to true then listen for resize method
// and prevent resizing from happening twice if responsive is set again during append phase!
if (settings.responsive && !$this.data('__responsive')) {
$(window).resize(function() {
@@ -211,7 +211,7 @@
var currentItem = 0;
// Store all the data
- var allData = $this.data('data') || [];
+ var allData = [];
for (i = 0; i < data.length; i++) {
allData.push(data[i]);
}