diff --git a/web/themes/asc_bootstrap_bux/asc_bootstrap_bux.theme b/web/themes/asc_bootstrap_bux/asc_bootstrap_bux.theme
index efff413f995f91a8aafc008605175d8e6cb8cce5..37e069694df892c5514dff7069ec805fbdbc1ed6 100755
--- a/web/themes/asc_bootstrap_bux/asc_bootstrap_bux.theme
+++ b/web/themes/asc_bootstrap_bux/asc_bootstrap_bux.theme
@@ -1147,11 +1147,14 @@ function asc_bootstrap_bux_preprocess_views_exposed_form(&$variables)
  */
 function asc_bootstrap_bux_preprocess_file_link(array &$variables)
 {
-  $link = $variables['link'];
-  $attributes = $link->getUrl()->getOption('attributes');
-  if (isset($attributes['target']) && $attributes['target'] === '_blank') {
-    $string = $link->getText();
-    $string .= " (opens in a new window)";
-    $link->setText($string);
+  $route_name = \Drupal::routeMatch()->getRouteName();
+  if ($route_name !== "entity.webform.canonical") {
+    $link = $variables['link'];
+    $attributes = $link->getUrl()->getOption('attributes');
+    if (isset($attributes['target']) && $attributes['target'] === '_blank') {
+      $string = $link->getText();
+      $string .= " (opens in a new window)";
+      $link->setText($string);
+    }
   }
 }