deprecate OpenLayers.Element hide() / show(). r=crschmidt (closes #1099)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11573 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -431,7 +431,7 @@ OpenLayers.Popup = OpenLayers.Class({
|
||||
* Makes the popup visible.
|
||||
*/
|
||||
show: function() {
|
||||
OpenLayers.Element.show(this.div);
|
||||
this.div.style.display = '';
|
||||
|
||||
if (this.panMapIfOutOfView) {
|
||||
this.panIntoView();
|
||||
@@ -443,7 +443,7 @@ OpenLayers.Popup = OpenLayers.Class({
|
||||
* Makes the popup invisible.
|
||||
*/
|
||||
hide: function() {
|
||||
OpenLayers.Element.hide(this.div);
|
||||
this.div.style.display = 'none';
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user