* Hide blocked users' content appropriately * Use RESTful create route * Update functionality to block the user * Fix specs for new route * Use const instead of var * Add noopener and noreferrer * Remove caching for blocked user ids * Add new rule for lack of noopener noreferrer * Update snapshot
7 lines
170 B
JavaScript
7 lines
170 B
JavaScript
import hideBlockedContent from '../contentDisplayPolicy/hideBlockedContent';
|
|
|
|
window.InstantClick.on('change', () => {
|
|
hideBlockedContent();
|
|
});
|
|
|
|
hideBlockedContent();
|