Skip to content

Commit

Permalink
Merge branch 'master' into email-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad authored Jun 2, 2020
2 parents b6455b2 + 4da0395 commit 5bacc3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/assets/javascripts/rename.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ $(document).on('turbolinks:load', function(){

recording_title.addClass("dotted_underline");
recording_title.fadeTo('medium', 0.7);
recording_title.find('text').attr("contenteditable", true);
recording_title.find('text').focus();
recording_title.find('span').attr("contenteditable", true);
recording_title.find('span').focus();

// Stop automatic refresh
e.preventDefault();
Expand Down Expand Up @@ -130,7 +130,7 @@ $(document).on('turbolinks:load', function(){
submit_update_request({
setting: "rename_recording",
record_id: element.data('recordid'),
record_name: element.find('text').text(),
record_name: element.find('span').text(),
room_uid: element.data('room-uid'),
}, element.data('path'), "PATCH");
}
Expand Down

0 comments on commit 5bacc3d

Please sign in to comment.