diff --git a/share/extensions/jessyInk_core_mouseHandler_zoomControl.js b/share/extensions/jessyInk_core_mouseHandler_zoomControl.js
index 7cbb85038e3e52e2f3b6b06ee7834704b3b51d65..fba33d34f7461abcdd67c6b0840fbf9639a65422 100644 (file)
-#!/usr/bin/env js
// Copyright 2008, 2009 Hannes Hochreiner
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
startTime = (new Date()).getTime();
lastFrameTime = null;
effect(1);
+
+ return false;
}
/** Function to search for the element the user clicked on.
svgPoint.x = e.clientX + window.pageXOffset;
svgPoint.y = e.clientY + window.pageYOffset;
- // The following is needed for Google Chrome, but causes problems
- // with Firefox, as viewport is not implemented in Firefox 3.5.
- try
- {
- svgPoint.x += document.rootElement.viewport.x;
- svgPoint.y += document.rootElement.viewport.y;
- }
- catch (ex)
- {
- }
-
return svgPoint;
}