[Mapbender-commits] r7784 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Apr 27 03:42:14 EDT 2011
Author: verenadiewald
Date: 2011-04-27 00:42:14 -0700 (Wed, 27 Apr 2011)
New Revision: 7784
Modified:
trunk/mapbender/http/javascripts/map_obj.js
Log:
reverted revision 7775
Modified: trunk/mapbender/http/javascripts/map_obj.js
===================================================================
--- trunk/mapbender/http/javascripts/map_obj.js 2011-04-27 07:41:06 UTC (rev 7783)
+++ trunk/mapbender/http/javascripts/map_obj.js 2011-04-27 07:42:14 UTC (rev 7784)
@@ -201,18 +201,19 @@
// using the normalized jQuery event
this.getPos = function (e) {
var $dom = $(this.getDomElement());
- if ( $.browser.msie ) {
+/* if ( $.browser.msie ) {
return new Mapbender.Point(
e.pageX - $dom.offset().left + $(window).scrollLeft(),
e.pageY - $dom.offset().top + $(window).scrollTop()
);
}
else {
+*/
return new Mapbender.Point(
e.pageX - $dom.offset().left,
e.pageY - $dom.offset().top
);
- }
+// }
};
this.getMousePosition = function (event) {
More information about the Mapbender_commits
mailing list