Sha256: 77f86715cb7cd17fd8024feeaa1f70f69b4076c3c43ac6b19310c3b0ecac45ec
Contents?: true
Size: 350 Bytes
Versions: 18
Compression:
Stored size: 350 Bytes
Contents
import Volta from "../volta/volta.js" export default () => { $(document).ready(function() { $(document).on('ajax:success', '#spotlight-form', function(event, response) { Volta.flash.show('success'); event.target.reset(); }).on('ajax:error', '#spotlight-form', function(event) { Volta.flash.show('error'); }); }); }
Version data entries
18 entries across 18 versions & 1 rubygems