Browse Source

修复sonar扫描问题

guohh 4 years ago
parent
commit
718845621e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static-res/hn-jiake/static/dist/js/ipu.js

+ 1 - 1
static-res/hn-jiake/static/dist/js/ipu.js

1268
    };
1268
    };
1269
    ipu.closeModal = function (modal) {
1269
    ipu.closeModal = function (modal) {
1270
        modal = $(modal || '.ui-modal-in');
1270
        modal = $(modal || '.ui-modal-in');
1271
        if (typeof modal !== 'undefined' && modal.length === 0) {
1271
        if (typeof modalObj === 'undefined' || modalObj == null || (typeof modalObj !== 'undefined' && modalObj.length === 0)) {
1272
            return;
1272
            return;
1273
        }
1273
        }
1274
        var isModal = modal.hasClass('ui-modal'),
1274
        var isModal = modal.hasClass('ui-modal'),