scrollytelling-pageflow-navigation 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 702689423563b36b8ed9f8d61f8255a0c56fada3
|
4
|
+
data.tar.gz: 3d70150242acea9581bf33225cfd699e69ff6e84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c416e9ffdb47812fed4a33acb4763af693dc6fb9c7173b879bded5ce087df5b353e25aabd4e07fc9fc3f68bc6c7fdb5d87c7ae27c00669d3c4e9dd5ce3589abd
|
7
|
+
data.tar.gz: f4babb048fd17ba2a91bbc054e72938b4bc060ff105728667e17eee8232c498d5b57695cd6893b06c6096a6e01393476f1ac9c0eb892210c087cd92e5bbc8d4f
|
@@ -1,6 +1,6 @@
|
|
1
1
|
pageflow.Counter = {
|
2
2
|
navigation: function() {
|
3
|
-
return $('#scrollytelling-pageflow-navigation')
|
3
|
+
return $('#scrollytelling-pageflow-navigation');
|
4
4
|
},
|
5
5
|
|
6
6
|
setActive: function(page) {
|
@@ -23,14 +23,13 @@ pageflow.Counter = {
|
|
23
23
|
$('a', this.navigation()).on('click', this.onClick);
|
24
24
|
},
|
25
25
|
|
26
|
-
onClick(event) {
|
26
|
+
onClick: function(event) {
|
27
27
|
event.preventDefault();
|
28
28
|
|
29
29
|
var page_id = $(this).attr('data-page-id');
|
30
30
|
|
31
31
|
pageflow.atmo.slideshow.goToById(page_id);
|
32
32
|
}
|
33
|
-
|
34
33
|
}
|
35
34
|
|
36
35
|
pageflow.ready.then(function() {
|