叛厨风暴

叛厨风暴

叛厨风暴的剧情介绍

Sheltering from the 1918 Spanish Flu at their seaside estate, a Progressive journalist and his socialite wife take in a mysterious grifter as a private cook. But when the plague descends on the posh island, the family and staff find themselves cut off from society and, like castaways, struggling to survive. The new cook sees an opportunity to rouse his fellow staff to re-think...动画

function qrsearch() { // 获取触发提交事件的表单 var form = window.event ? window.event.target : (arguments[0] ? arguments[0].target : null); if (!form) { form = document.querySelector('form[action*="/search"]'); } var input = form ? form.querySelector('input[name="q"]') : document.querySelector('input[name="q"]'); if (!input) { return false; } var q = input.value; if (!q || q.trim() === '') { return false; } return true; } // 确保回车键能正常提交表单 (function() { function initSearchForms() { var searchForms = document.querySelectorAll('form[action*="/search"]'); searchForms.forEach(function(form) { var input = form.querySelector('input[name="q"]'); if (input) { // 监听回车键事件 input.addEventListener('keydown', function(e) { if (e.key === 'Enter' || e.keyCode === 13) { e.preventDefault(); var q = this.value.trim(); if (q) { form.submit(); } } }); } }); } // DOM加载完成后初始化 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initSearchForms); } else { initSearchForms(); } // window.load 后也执行一次 window.addEventListener('load', function() { setTimeout(initSearchForms, 100); }); })();