fix broken test_Handler -- stray try {} statement, presumably from debugging.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5898 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2008-01-25 23:28:26 +00:00
parent a68492e003
commit fd321883a8

View File

@@ -90,8 +90,7 @@
handler.activate();
map.events.unregister = function(type, obj, func) {
try {
var r = func();
var r = func();
if(typeof r == "string") {
// this is one of the mock handler methods
t.ok(OpenLayers.Util.indexOf(events, type) > -1,