flakey 0.2.0 → 0.2.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: e7b5137cf69f93d6138540da2b40499ee8754908
4
- data.tar.gz: f4ca7aba6b994881a5d784ee53a8e8b0c7c24476
3
+ metadata.gz: c797fa59e282aafa6305da5e02ee60d5789901b3
4
+ data.tar.gz: 014ccb3295581426b20b4d34532c8a2fc1833b14
5
5
  SHA512:
6
- metadata.gz: c35db990e4adccc4b7dd83bba42601d9855bafd4bc9ffd2fcab29a4305e987a2458c1d15103d02061b9079a009f013464384601a54e992560608c01cb6672ac2
7
- data.tar.gz: 9ebdf8fc9ddadb16e42b5d5b381ea4c4351a1cd611462e964aded1049f9f84bc08cd9415a63aa8f954df7db195c1bb68337123a15e0bfe799b1c2edbe6b8b491
6
+ metadata.gz: 04be5d95c059da7565730d676c271fc3d3a9029ce52034ed2655215a6a743ac7177fd966ff2018e79ef4639c09a6940753c6f520b7b42411af05e665c1321a9d
7
+ data.tar.gz: 63a224d56ee88df11339c752fe364213cd33dbc747c987265e64aae3f0c350718937192dc6de8e2a15885892666a55e621a4051fb1d5b04e3e0b34479c54bfd7
@@ -1,3 +1,3 @@
1
1
  module Flakey
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -16,13 +16,13 @@ if (typeof jQuery === "undefined") {
16
16
  var top = ($(window).height() - height) / 2;
17
17
  var opts = "status=1,width=" + width + ',height=' + height + ',top=' + top + ',left=' + left;
18
18
 
19
- window.open(url, 'twitter', opts)
19
+ window.open(url, name, opts)
20
20
  };
21
21
 
22
22
  $(function(){
23
23
  $('.custom-tweet-button').on('click', function(e){
24
24
  e.preventDefault();
25
- openPopup($(e.target).attr('href'), 'twitter');
25
+ openPopup($(e.target).closest('a').attr('href'), 'twitter');
26
26
  });
27
27
  });
28
28
  })(jQuery);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flakey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Tuite