angular-block-ui
angular-block-ui copied to clipboard
latest version with manual per element blockui - $document is undefined in mcnull code
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.