Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- // SalsaStaff 176248: Script to allow pages that do not submit inInternet Explorer
- // to work correctly. It is **important** not to use this script on a page where
- // the submit button works! The world will end and you'll know that it's *your* fault.
- // :-)
- (function() {
- if (window.navigator.userAgent.indexOf('Windows NT' != -1)) {
- var form = document.querySelector('.salsa form');
- if (form === null) return;
- var submit = form.querySelector('input[type=submit]');
- if (submit === null) return;
- submit.addEventListener('click', function(event) {
- form.submit();
- })
- }
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement