Mercurial > ec-userscripts
diff tgsmart-direct-link.user.js @ 49:2e1cae72a63e
Semicolons
author | nanaya <me@nanaya.pro> |
---|---|
date | Thu, 12 Oct 2017 16:40:13 +0900 |
parents | 32a213717e6a |
children |
line wrap: on
line diff
--- a/tgsmart-direct-link.user.js Wed Oct 11 22:22:06 2017 +0900 +++ b/tgsmart-direct-link.user.js Thu Oct 12 16:40:13 2017 +0900 @@ -11,10 +11,10 @@ ;(function() { "use strict"; - var links = document.querySelectorAll("a[onclick^='trackOutboundLink('") + var links = document.querySelectorAll("a[onclick^='trackOutboundLink('"); var removeOnClick = function(el) { - el.setAttribute("onclick", "") - } + el.setAttribute("onclick", ""); + }; - Array.prototype.forEach.call(links, removeOnClick) + Array.prototype.forEach.call(links, removeOnClick); }).call(); \ No newline at end of file