comparison rakuten-books-direct-search.user.js @ 85:9c8cde985caf

Update standard and fix
author nanaya <me@nanaya.pro>
date Thu, 15 Apr 2021 15:01:22 +0900
parents 86da34e62d29
children 2c4470b73ad9
comparison
equal deleted inserted replaced
84:af4f8b25495e 85:9c8cde985caf
14 14
15 /* global jQuery */ 15 /* global jQuery */
16 ;(function () { 16 ;(function () {
17 'use strict' 17 'use strict'
18 18
19 var $ = jQuery 19 const $ = jQuery
20 var $form = $("form[name='srchFrm']") 20 const $form = $("form[name='srchFrm']")
21 21
22 if (!$form.length) { return } 22 if (!$form.length) { return }
23 23
24 var searchUrl = $form.find("input[name='R2']").attr('value') 24 const searchUrl = $form.find("input[name='R2']").attr('value')
25 $form.attr('action', searchUrl) 25 $form.attr('action', searchUrl)
26 }).call() 26 }).call()