angular-block-ui icon indicating copy to clipboard operation
angular-block-ui copied to clipboard

latest version with manual per element blockui - $document is undefined in mcnull code

Open gtesslerge opened this issue 10 years ago • 0 comments
trafficstars

Any idea why your code fails with $document undefined near line:

  // Check if the focused element is part of the block scope

  var $ae = angular.element($document[0].activeElement);

And all we want is to surround a div with the blocking background - we dont care about focus....

If your function worked, are we using it right?

Thank you.

gtesslerge avatar May 07 '15 16:05 gtesslerge