diff options
author | Zuul <zuul@review.opendev.org> | 2023-04-25 21:11:04 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-04-25 21:11:04 +0000 |
commit | 66fa187586fd4ffe475ddf71e1fb16b74f4ff1d7 (patch) | |
tree | ff043ea2bdf66e9d64f51b5c12ba902ae7e8b3f7 /openstack_dashboard | |
parent | c151d67c93a5ea670eeaecf62c89bde1458f358e (diff) | |
parent | 43a792ec94bc3360da8bfbc118cca28cad03b128 (diff) | |
download | horizon-66fa187586fd4ffe475ddf71e1fb16b74f4ff1d7.tar.gz |
Merge "Update deprecated jQuery functions"
Diffstat (limited to 'openstack_dashboard')
-rw-r--r-- | openstack_dashboard/static/js/angular/directives/serialConsole.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/static/js/angular/directives/serialConsole.js b/openstack_dashboard/static/js/angular/directives/serialConsole.js index df48e6b89..97a691038 100644 --- a/openstack_dashboard/static/js/angular/directives/serialConsole.js +++ b/openstack_dashboard/static/js/angular/directives/serialConsole.js @@ -77,7 +77,7 @@ limitations under the License. scope.cols = 80; scope.rows = 24; // event handler to resize console according to window resize. - angular.element(window).bind('resize', resizeTerminal); + angular.element(window).on('resize', resizeTerminal); function resizeTerminal() { var terminal = angular.element('.terminal')[0]; // take margin for scroll-bars on window. |