diff rakuten-books-direct-search.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/rakuten-books-direct-search.user.js	Wed Oct 11 22:22:06 2017 +0900
+++ b/rakuten-books-direct-search.user.js	Thu Oct 12 16:40:13 2017 +0900
@@ -13,11 +13,11 @@
 // ==/UserScript==
 
 ;(function() {
-  var $ = jQuery
-  var $form = $("form[name='srchFrm']")
+  var $ = jQuery;
+  var $form = $("form[name='srchFrm']");
 
-  if (!$form.length) { return }
+  if (!$form.length) { return; }
   
-  var searchUrl = $form.find("input[name='R2']").attr("value")
-  $form.attr("action", searchUrl)
+  var searchUrl = $form.find("input[name='R2']").attr("value");
+  $form.attr("action", searchUrl);
 }).call();
\ No newline at end of file