summaryrefslogtreecommitdiff
path: root/openstack_dashboard/static/js/horizon.networktopology.js
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/static/js/horizon.networktopology.js')
-rw-r--r--openstack_dashboard/static/js/horizon.networktopology.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack_dashboard/static/js/horizon.networktopology.js b/openstack_dashboard/static/js/horizon.networktopology.js
index c94da2953..5d4f36e6e 100644
--- a/openstack_dashboard/static/js/horizon.networktopology.js
+++ b/openstack_dashboard/static/js/horizon.networktopology.js
@@ -131,12 +131,12 @@ horizon.network_topology = {
self.delete_balloon();
});
- angular.element('#toggle_labels').change(function() {
+ angular.element('#toggle_labels').on('change', function() {
horizon.cookies.put('show_labels', this.checked);
self.refresh_labels();
});
- angular.element('#toggle_networks').change(function() {
+ angular.element('#toggle_networks').on('change', function() {
horizon.cookies.put('are_networks_collapsed', this.checked);
self.refresh_networks();
self.refresh_labels();