Browse Source

improved cyclebar

Dmitry Yu Okunev 2 years ago
parent
commit
91458ded18
1 changed files with 4 additions and 1 deletions
  1. 4 1
      imports/ui/Services.jsx

+ 4 - 1
imports/ui/Services.jsx

@@ -27,7 +27,10 @@ export default class Services extends Component {
 
 	onChange() {
 		var link_to = $('select#services option:selected')[0].dataset.link;
-		$('iframe').attr('src', link_to);
+		$('iframe').attr('src', '/empty');
+		setTimeout(function(){
+			$('iframe').attr('src', link_to);
+		},50);
 	}
 
 	render() {