diff medium-popup-disable.user.js @ 49:2e1cae72a63e

Semicolons
author nanaya <me@nanaya.pro>
date Thu, 12 Oct 2017 16:40:13 +0900
parents 32a213717e6a
children 09f735548b2c
line wrap: on
line diff
--- a/medium-popup-disable.user.js	Wed Oct 11 22:22:06 2017 +0900
+++ b/medium-popup-disable.user.js	Thu Oct 12 16:40:13 2017 +0900
@@ -14,12 +14,12 @@
 
 ;(function() {
   "use strict";
-  var popups = document.getElementsByClassName("highlightMenu")
+  var popups = document.getElementsByClassName("highlightMenu");
   var killPopup = function(popup) {
     popup.style.display = "none";
-  }
+  };
   var killPopups = function() {
-    Array.prototype.forEach.call(popups, killPopup)
-  }
-  document.addEventListener('click', killPopups)
+    Array.prototype.forEach.call(popups, killPopup);
+  };
+  document.addEventListener('click', killPopups);
 }).call();
\ No newline at end of file