From 1ed565609c9058b80c9936f5a6e8e24bd27de18f Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 23 Feb 2008 13:58:55 +0100
Subject: [PATCH] alway initialize an empty toolbar first FS#1337

darcs-hash:20080223125855-7ad00-c8e1a3d81bc1cd71d7bdb4b70ffe588aa11fec04.gz
---
 lib/scripts/script.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/scripts/script.js b/lib/scripts/script.js
index ddc88c728..fd2679f01 100644
--- a/lib/scripts/script.js
+++ b/lib/scripts/script.js
@@ -17,6 +17,9 @@ if (clientPC.indexOf('opera')!=-1) {
     var is_opera_seven = (window.opera && document.childNodes);
 }
 
+// prepare empty toolbar for checks by lazy plugins
+var toolbar = '';
+
 /**
  * Rewrite the accesskey tooltips to be more browser and OS specific.
  *
-- 
GitLab