Commit bd40c0f9 authored by ivankr@chromium.org's avatar ivankr@chromium.org

Added JSDoc to a function missing comment.


Review URL: http://codereview.chromium.org/7799022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98822 0039d316-1c4b-4281-b951-d872f2087c98
parent a8b7f656
...@@ -47,6 +47,10 @@ cr.define('oobe', function() { ...@@ -47,6 +47,10 @@ cr.define('oobe', function() {
} }
}; };
/**
* Registers Escape accelerator to cancel update and
* makes 'press Escape to cancel update' hint visible.
*/
UpdateScreen.enableUpdateCancel = function() { UpdateScreen.enableUpdateCancel = function() {
$('update-cancel-hint').hidden = false; $('update-cancel-hint').hidden = false;
document.addEventListener('keydown', function(e) { document.addEventListener('keydown', function(e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment