jekyll-theme-simple-texture 0.2.1 → 0.2.2

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: fb77a741fa7d20372d7160f51e3c44255c0d4dd1
4
- data.tar.gz: 9fbe0341a6d0e0d0a732109c8e8e8b53054dc24c
3
+ metadata.gz: 4f1292d0038a8d7c535bfc58ae6763a0fbd6069e
4
+ data.tar.gz: 619fe255463c90ab3738ebe4ba77329b1ba80105
5
5
  SHA512:
6
- metadata.gz: 3ea3a7013b32e1b41a77335ae812836cb9fce6e2565518f5843bd9ec4570524beb24f389a47e0a79c9230ed916895ed297d0afca691997ae8d3ce1901d0e1718
7
- data.tar.gz: 928258f1a68a4895ab9e77f64b3f5c0c3a0d97e745629f181266b66d598367844244128865b6253462bd75226dda6fd5eaafdf6b4dcaff808938a390ae3a0c87
6
+ metadata.gz: e75390e5fc7be3ff9fce93b19a87f9d42dcb9f23436545dbc8cb5ee4973a89ba407b4cf06efbed19d8b01999431f00a65e70a5481407ed0eb2577d76eed417d2
7
+ data.tar.gz: b7bdb256420512867aeafe7ad8ee9fd8d22a194deb38e9a376a44c8c07f6fb0d3f3623cbd130fc33b436fd6529ac302e3a9a834074cfaf5bee588ba9b5e59a95
@@ -26,7 +26,6 @@ $(document).ready(function () {
26
26
  });
27
27
 
28
28
  $('footer .back-to-top, .gotop').on('click', function (event) {
29
- sendGaEvent('Blog', 'Back to Top', event.currentTarget);
30
29
  event.preventDefault();
31
30
  $('html, body').animate({
32
31
  scrollTop: 0
@@ -35,7 +34,6 @@ $(document).ready(function () {
35
34
  });
36
35
 
37
36
  $('.show-hidden').on('click', function () {
38
- sendGaEvent('Post', 'Show Hidden', event.currentTarget);
39
37
  $(this).parent().next().toggleClass("hidden");
40
38
  $(this).toggleClass("hidden");
41
39
  });
@@ -45,6 +43,12 @@ $(document).ready(function () {
45
43
  <!-- Google Analytics Event tracking -->
46
44
  {% if site.google_analytics %}
47
45
  <script>
46
+ $(document).on('click', 'footer .back-to-top, .gotop', function (event) {
47
+ sendGaEvent('Blog', 'Back to Top', event.currentTarget);
48
+ });
49
+ $(document).on('click', '.show-hidden', function (event) {
50
+ sendGaEvent('Post', 'Show Hidden', event.currentTarget);
51
+ });
48
52
  $(document).on('click', 'a.internal', function(event) {
49
53
  sendGaEvent('Blog', 'Navigate', event.currentTarget);
50
54
  });
@@ -6,7 +6,7 @@
6
6
 
7
7
  $.ajax({
8
8
  type: 'GET',
9
- url: 'https://disqus.com/api/3.0/threads/set.jsonp',
9
+ url: '//disqus.com/api/3.0/threads/set.jsonp',
10
10
  data: {
11
11
  api_key: disqusPublicKey,
12
12
  forum: disqusShortname,
@@ -24,7 +24,7 @@
24
24
 
25
25
  $('.comments .show-hidden').on('click', function () {
26
26
  $.ajaxSetup({cache: true});
27
- $.getScript('http://' + disqusShortname + '.disqus.com/embed.js');
27
+ $.getScript('//' + disqusShortname + '.disqus.com/embed.js');
28
28
  $.ajaxSetup({cache: false});
29
29
  $(this).remove();
30
30
  });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-simple-texture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yi Zeng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-24 00:00:00.000000000 Z
11
+ date: 2017-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll