autotolk 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce724c992f0a77243f5b898ecd73f176917d2c3
4
- data.tar.gz: f9028ac32fe73f94d8090b01984a33f4a8ca0e77
3
+ metadata.gz: 981b367c8c214e3798f982e268a28f0d317e58c5
4
+ data.tar.gz: a87f7650140cdbcbcc13da7c8da09689e31ab847
5
5
  SHA512:
6
- metadata.gz: c3015153e1af8a160a296eb12f4d568f38f1c3b97e1b1ea01ba9347d71c98b90a58bd49275f0b07aafaefd615b24ad34b2a6f3a13adbb68980d587514cbea5f0
7
- data.tar.gz: 71945b75bd58832efecdf406f06adc13aed9e89c76799ac461485415e812eb4e54d9da63b1ba646d648daac4928151d8f70fa6f4489408fe8fcfce7c9c3e7626
6
+ metadata.gz: cebc1812c9885b6ea197bd20fcaeae2e3662af83863c38146ee11dac3feb923a2c3608a8f92788306f510d606cea909d7fd297edc9a569b80e1c7a8b5c20ee36
7
+ data.tar.gz: a9e10603b95a9f453cb5427fd06c6e526377637cf394650ee55d505282fd8ec8150d7be056d31259a237b23fae91dd807f6670af02ce74e727f0371562fe8046
@@ -7,7 +7,7 @@ $(document).on 'ready page:load', ->
7
7
 
8
8
  startTranslating = () ->
9
9
  autotranslatingClicked += 1
10
- to_lang = document.URL.split('/').slice(-1).pop()
10
+ to_lang = document.URL.split('?')[0].split('/').slice(-1).pop()
11
11
  $translation_rows = $('table.translations tbody tr:not(:first-child)')
12
12
  for $translation_row in $translation_rows
13
13
  original = $translation_row.querySelector('td.original textarea#translations__original_text').innerText
@@ -1,3 +1,3 @@
1
1
  module Autotolk
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotolk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joanna Rajewska