Dmitry Yu Okunev лет назад: 6
Родитель
Сommit
91458ded18
1 измененных файлов с 4 добавлено и 1 удалено
  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() {