docs(modal): typo in comment: loose > lose

Closes #2817
This commit is contained in:
Smith
2014-10-10 16:31:50 -07:00
committed by Pawel Kozlowski
parent b94bdbb8f8
commit 5cb8d38ad1
+1 -1
View File
@@ -97,7 +97,7 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition'])
/**
* Auto-focusing of a freshly-opened modal element causes any child elements
* with the autofocus attribute to loose focus. This is an issue on touch
* with the autofocus attribute to lose focus. This is an issue on touch
* based devices which will show and then hide the onscreen keyboard.
* Attempts to refocus the autofocus element via JavaScript will not reopen
* the onscreen keyboard. Fixed by updated the focusing logic to only autofocus