mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: topic discovery tests
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/* exported exists, count, present, blank, containsInstance, not, visible, invisible */
|
||||
|
||||
function exists(selector) {
|
||||
return !!count(selector);
|
||||
return count(selector) > 0;
|
||||
}
|
||||
|
||||
function count(selector) {
|
||||
|
Reference in New Issue
Block a user