$window.document

pull/32/head
Szekeres Bálint 6 years ago
parent 97e0cda352
commit 313518413a

@ -184,7 +184,7 @@
};
$scope.refreshHighlighting = function() {
var sourceCodes = document.querySelectorAll('main .file .code.source');
var sourceCodes = $window.document.querySelectorAll('main .file .code.source');
for (var i = 0; i < sourceCodes.length; i++) {
var sourceCode = sourceCodes[i];
@ -260,7 +260,7 @@
$scope.downloadZip = function() {
var zip = new JSZip();
var sourceCodes = document.querySelectorAll('main .file .code.source');
var sourceCodes = $window.document.querySelectorAll('main .file .code.source');
for (var i = 0; i < sourceCodes.length; i++) {
var sourceCode = sourceCodes[i];

Loading…
Cancel
Save