Skip to content

Commit

Permalink
Merge branch 'MDL-71788-master-fix' of git://github.com/junpataleta/m…
Browse files Browse the repository at this point in the history
…oodle
  • Loading branch information
stronk7 authored and junpataleta committed Jul 15, 2021
2 parents 80f0b15 + a067fc1 commit f861b7a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion calendar/amd/build/export.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion calendar/amd/build/export.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions calendar/amd/src/export.js
Expand Up @@ -38,12 +38,8 @@ const selectors = {
* @method init
*/
export const init = () => {
// Enable the copy URL button and focus on it after the page has loaded.
document.onreadystatechange = () => {
if (document.readyState === 'complete') {
const copyUrl = document.getElementById(selectors.copyUrlId);
copyUrl.removeAttribute('disabled');
copyUrl.focus();
}
};
// Enable the copy URL button and focus on it.
const copyUrl = document.getElementById(selectors.copyUrlId);
copyUrl.removeAttribute('disabled');
copyUrl.focus();
};

0 comments on commit f861b7a

Please sign in to comment.