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 +4 -4
- data/lib/flakey/version.rb +1 -1
- data/vendor/assets/javascripts/flakey/popup.js +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c797fa59e282aafa6305da5e02ee60d5789901b3
|
4
|
+
data.tar.gz: 014ccb3295581426b20b4d34532c8a2fc1833b14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04be5d95c059da7565730d676c271fc3d3a9029ce52034ed2655215a6a743ac7177fd966ff2018e79ef4639c09a6940753c6f520b7b42411af05e665c1321a9d
|
7
|
+
data.tar.gz: 63a224d56ee88df11339c752fe364213cd33dbc747c987265e64aae3f0c350718937192dc6de8e2a15885892666a55e621a4051fb1d5b04e3e0b34479c54bfd7
|
data/lib/flakey/version.rb
CHANGED
@@ -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,
|
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);
|