Separate prefix styles from non-item styles in menus
Change-Id: I98255ac8a2e173c1d1c3fef3806fa490526b54cb
diff --git a/dev/js/spec/menuSpec.js b/dev/js/spec/menuSpec.js
index c24a75b..664a5b9 100644
--- a/dev/js/spec/menuSpec.js
+++ b/dev/js/spec/menuSpec.js
@@ -476,7 +476,6 @@
expect(menu.element().getElementsByTagName("li")[5]).toBe(undefined);
});
-
it('should be nextable', function () {
var menu = KorAP.HintMenu.create("cnx/", list);
menu._firstActive = true;
@@ -1498,6 +1497,7 @@
it('should be initializable', function () {
var p = prefixClass.create();
expect(p.element().classList.contains('pref')).toBeTruthy();
+ expect(p.element().classList.contains('non-item')).toBeTruthy();
expect(p.isSet()).not.toBeTruthy();
/*