From fea6cf3c3184965b3a46385c4c0c7aa02f2b5556 Mon Sep 17 00:00:00 2001 From: jvanbouchaute Date: Fri, 3 Jul 2015 15:13:22 +0200 Subject: [PATCH] Issue ##3892 : Illegal character fix --- src/modal/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modal/modal.js b/src/modal/modal.js index c6215f4a11..c2de63924b 100644 --- a/src/modal/modal.js +++ b/src/modal/modal.js @@ -212,7 +212,7 @@ angular.module('ui.bootstrap.modal', []) //move focus to specified element if available, or else to body if (elementToReceiveFocus && elementToReceiveFocus.focus) { elementToReceiveFocus.focus(); - } else { + } else { body.focus(); } }