1

フォームの Webshim は、最初のページの読み込みでは正常に動作しますが、別のページに移動した後は動作しません。

ハンドラーを呼び出してみupdatePolyfillましたが、問題は解決しません。

$.webshim.setOptions ...
$.webshim.polyfill('forms')

// none of these fixes the issue
$(document).on "page:load", ->
    $(this).updatePolyfill()
    $('body').updatePolyfill()
    $('form').updatePolyfill()
    $.webshim.polyfill('forms')

$(document).ready ->
    // same deal (using jquery.turbolinks)

最初のページから移動した後にシムをロードするにはどうすればよいですか?

4

0 に答える 0