cobot_client 1.3.0 → 1.3.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: a4bf057087897f6efab1f070375457766f696d58
4
- data.tar.gz: 6705d424189131d323fdf30e60a35b14bba59138
3
+ metadata.gz: 3e188955232fa00887f8ddabbe4abed63cfd85eb
4
+ data.tar.gz: 181f88d1cba96c0f82b2c4a21447e2dec24adc8f
5
5
  SHA512:
6
- metadata.gz: a6799987ca3ae07d8a0e7ed3e645ea1195e0af10c72c218d1f70e71c35e55e7c4d27aa044a595215656c946f89b22065e14937e85aade689c8083d3347ab9a86
7
- data.tar.gz: ef3d59e11c03541dfe14f1b6f20265054b4c72cf708476b3a5002b6f1e16dacc9631125a4c609e25d5c77aec78208f931d016e3a78c22994bb1adaebc63830ec
6
+ metadata.gz: a7bccd4b1af3eda2ab8fa400c011706e8f35ea83acf1318d07660726ff3e83863f6b8b8e046edf0c693e9ee8cb0fe0784aae0870ea760ed4b3eae0e281757a69
7
+ data.tar.gz: 8030ca5db582cd4e3377c782a7430ba01fbe8d86f4ac1aee0fe14a2198624b5bea31d09b440dfaf78f12fba8a956e59932f521aee77ad65f28acacbe0b5d8c71
@@ -7,7 +7,10 @@
7
7
  };
8
8
 
9
9
  window.Cobot.iframeHeight = window.Cobot.iframeHeight || function() {
10
- return document.body.offsetHeight;
10
+ var height = document.body.offsetHeight;
11
+ var style = getComputedStyle(document.body);
12
+ height += parseInt(style.marginTop) + parseInt(style.marginBottom);
13
+ return height;
11
14
  };
12
15
 
13
16
  if(window.top != window) {
@@ -1,3 +1,3 @@
1
1
  module CobotClient
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobot_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Lang