Skip to content

Commit

Permalink
fixed copy-over arrow button for translations #477 [7]
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans-Jörg Bibiko committed Jun 8, 2018
1 parent e441661 commit 001fa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/admin/js/translation.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $(document).ready(function(){
//The copy-over buttons:
table.on('click', '.btn.copy-over', function(){
var btn = $(this).changeInRow()
, txt = btn.closest('td').find('code').text()
, txt = btn.closest('td').find('span').text()
, tgt = btn.closest('tr').find('input.translation');
tgt.val(txt);
});
Expand Down

0 comments on commit 001fa4a

Please sign in to comment.