From 2a188b181915cbb5d10f95639bdb26eb75bfd722 Mon Sep 17 00:00:00 2001 From: iorate Date: Thu, 15 Nov 2018 01:13:12 +0900 Subject: [PATCH] Avoid one-line if statement --- content.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content.js b/content.js index 1235f9239..ebed08d8b 100644 --- a/content.js +++ b/content.js @@ -113,7 +113,9 @@ class UBlacklist { } setupEntry({ base, pageUrl, actionParent, actionTag, actionClass, display }) { - if (base.hasAttribute('data-ub-page-url')) { return; } + if (base.hasAttribute('data-ub-page-url')) { + return; + } base.setAttribute('data-ub-page-url', pageUrl); base.setAttribute('data-ub-display', display);