mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-24 22:45:10 -04:00
test: change all other tests to not use jQuery
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ describe('UiHelper', function () {
|
||||
var clean = globalThis.cleanup(
|
||||
'<' + element + ' id="' + id + '"></' + element + '>'
|
||||
);
|
||||
var result = PrivateBin.UiHelper.isVisible($('#' + id));
|
||||
var result = PrivateBin.UiHelper.isVisible(document.getElementById(id));
|
||||
clean();
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user