Is New York City Making a Huge Mistake by Reopening Right Now?
Imagine you’re the person in charge of reopening New York City, and you look at the below chart:
( function() {
var func = function() {
var iframe = document.getElementById('wpcom-iframe-2b3181d2ed5a5c1404959ba7022ec3f8')
if ( iframe ) {
iframe.onload = function() {
iframe.contentWindow.postMessage( {
'msg_type': 'poll_size',
'frame_id': 'wpcom-iframe-2b3181d2ed5a5c1404959ba7022ec3f8'
}, "https:\/\/embeds.time.com" );
}
}
// Autosize iframe
var funcSizeResponse = function( e ) {
var origin = document.createElement( 'a' );
origin.href = e.origin;
// Verify message origin
if ( 'embeds.time.com' !== origin.host )
return;
// Verify message is in a format we expect
if ( 'object' !== typeof e.data || undefined === e.data.msg_type )
return;
switch ( e.data.msg_type ) {
case 'poll_size:response':
var iframe = document.getElementById( e.data._request.frame_id );
if ( iframe && '' === iframe.width )
iframe.width = '100%';
if ( iframe && '' === iframe.height )
iframe.height = parseInt( e.data.height );
return;
default:
return;
}
}
if ( 'function' === typeof window.addEventListener ) {
window.addEventListener( 'message', funcSizeResponse, false );
} else if ( 'function' === typeof window.attachEvent ) {
window.attachEvent( 'onmessage', funcSizeResponse );
}
}
if (...
Source: TIME: Health - Category: Consumer Health News Authors: Alex Fitzpatrick Tags: Uncategorized COVID-19 Source Type: news
More News: Allergy | Allergy & Immunology | Coronavirus | COVID-19 | Government | Health | Infectious Diseases | International Medicine & Public Health | Jobs | Politics | Vaccines