From f34a8f61a519009a0699b878b3dbaad3c01ab6b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Fri, 2 Aug 2013 16:18:08 +0200 Subject: [PATCH] bugfix. --- skins/ajax_scripts/javascript_events_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/ajax_scripts/javascript_events_api.js b/skins/ajax_scripts/javascript_events_api.js index 14c6dfe..71baec7 100644 --- a/skins/ajax_scripts/javascript_events_api.js +++ b/skins/ajax_scripts/javascript_events_api.js @@ -302,7 +302,7 @@ else { * http://www.sitepoint.com/blogs/2006/01/17/javascript-inheritance/ */ -var copyPrototype = function (descendant, parent) { +copyPrototype = function (descendant, parent) { var sConstructor = parent.toString(); var aMatch = sConstructor.match( /\s*function (.*)\(/ ); if ( aMatch !== null ) { descendant.prototype[aMatch[1]] = parent; } -- 2.20.1