From f86bbb96b05772e77608280612c5a4c8b718a324 Mon Sep 17 00:00:00 2001 From: Travis Hegner Date: Mon, 29 Jun 2015 13:32:22 -0400 Subject: [PATCH] can't execute code after a return --- html/includes/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 336a0c0bdc..7c552eaeae 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -191,7 +191,7 @@ function overlib_link($url, $text, $contents, $class) if ($config['web_mouseover'] === FALSE) { $output .= ">"; } else { - $output .= " onmouseover=\"return overlib('".$contents."'".$config['overlib_defaults'].", WRAP,HAUTO,VAUTO); jQuery.event.trigger(\"ajaxStop\"); \" onmouseout=\"return nd();\">"; + $output .= " onmouseover=\"var ret = overlib('".$contents."'".$config['overlib_defaults'].", WRAP,HAUTO,VAUTO); jQuery.event.trigger(\"ajaxStop\"); return ret;\" onmouseout=\"return nd();\">"; } $output .= $text."";