JSFiddle - React, Tailwind, and code Playground

by Wagner Souza

JavaScript

$('.post-options a').each(function() {
	
	var link = $(this).attr('href');

	switch(true) {
		case /\/post\?.*&mode=quote/g.test(link):
			$(this).html('Quote');
		break;
	}
});