diff --git a/static/js/filters_functions_find_route.js b/static/js/filters_functions_find_route.js
index 66b3b56..77dc79d 100644
--- a/static/js/filters_functions_find_route.js
+++ b/static/js/filters_functions_find_route.js
@@ -114,17 +114,9 @@ function ajax_for_filter (data_d,get_url){
}
}
}
- if (data.html === "\n\n\n\n\n"){
+ if (data.html.includes("not_found_routes")){
// document.querySelector(".block-finded-routes").innerHTML = "Нечего не найдено!"
- document.querySelector(".block-finded-routes").innerHTML = "
\n" +
- "
\n" +
- " Упс... Ничего не найдено, попробуйте\n" +
- " изменить параметры поиска или оставьте заявку\n" +
- " на перевозку посылки\n" +
- "
\n" +
- "

\n" +
- "

\n" +
- "
"
+ document.querySelector(".block-finded-routes").innerHTML = data.html
} else {
diff --git a/templates/templates_js_translate/not_found_find_routes.html b/templates/templates_js_translate/not_found_find_routes.html
index c3bbc23..6be1116 100644
--- a/templates/templates_js_translate/not_found_find_routes.html
+++ b/templates/templates_js_translate/not_found_find_routes.html
@@ -2,8 +2,7 @@
Упс... Ничего не найдено, попробуйте
- изменить параметры поиска или оставьте заявку
- на перевозку посылки
+ изменить параметры поиска