Skip to content

Commit

Permalink
Fixed: backdrop remaining issue
Browse files Browse the repository at this point in the history
Fixed: backdrop remaining issue
  • Loading branch information
sarath2 committed Jan 22, 2015
1 parent 961ed15 commit 9cfa378
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions dist/ekathuwa.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,10 @@
break;
}
var mq = '#' + op.id + ' .modal-dialog { ' + s + '} @media (max-width: 768px) {' + '#' + op.id + ' .modal-dialog {width:90%;}}';
angular.element('.modal-backdrop').remove();
angular.element('#ekathuwaSt' + op.id).remove();
angular.element('head').append('<style id="ekathuwaSt' + op.id + '">' + mq + '</style>');
angular.element('#' + op.id).remove();
var els = angular.element('.modal-backdrop');
angular.forEach(els, function (el, index) {
if (index !== 0) {
angular.element(el).remove();
}
});
var m = angular.element(t);
angular.element('body').append(m);
var deferred = $q.defer();
Expand Down

0 comments on commit 9cfa378

Please sign in to comment.