Bug 1491268 - Bookmarks policy's last field is displayed in same color like all other rows r=Felipe

Differential Revision: https://phabricator.services.mozilla.com/D7238

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Arshad Kazmi 2018-10-02 14:17:29 +00:00
parent 8563e914f5
commit e198ffe488

View File

@ -161,9 +161,10 @@ function generatePolicy(data, row, depth, new_cont, islast, arr_sep = false) {
}
last_row.appendChild(col(obj));
last_row.classList.add(color_class);
if (arr_sep) {
last_row.classList.add(color_class, "arr_sep");
last_row.classList.add("arr_sep");
}
generatePolicy(data[obj], last_row, depth + 1, new_cont, islast ? islast : false, false);