aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmap_arcgis.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index 018e470..9303c8f 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -32,18 +32,12 @@ function gmapArcgis(config) {
// UI unblocker wrapper
unblockUI: function() {
- if (this.config.ui == undefined || this.config.ui == 'blocked') {
- jQuery.unblockUI();
- this.config.ui = 'unblocked';
- }
+ jQuery.unblockUI();
},
// UI blocker wrapper
blockUI: function(params) {
- if (this.config.ui == undefined || this.config.ui == 'unblocked') {
- jQuery.blockUI(params);
- this.config.ui = 'blocked';
- }
+ this.config.ui = 'blocked';
},
// Block the UI and show an overlay