lib/sensu-dashboard/views/layout.erb in sensu-dashboard-0.9.8.beta.2 vs lib/sensu-dashboard/views/layout.erb in sensu-dashboard-0.9.8

- old
+ new

@@ -51,12 +51,12 @@ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <!-- all our JS is at the bottom of the page, except for Modernizr. --> <script src="js/modernizr-1.7.min.js"></script> - <% if $settings['dashboard']['autorefresh'] %> + <% if $settings['dashboard']['autorefresh'] || $settings['dashboard']['auto_refresh'] %> <!-- page autorefresh --> - <meta http-equiv="refresh" content="<%= $settings['dashboard']['autorefresh'] %>"> + <meta http-equiv="refresh" content="<%= $settings['dashboard']['autorefresh'] || $settings['dashboard']['auto_refresh'] %>"> <% end %> </head> <body>