WordPress / gutenberg-starter-theme

A simple theme for testing Gutenberg.
GNU General Public License v2.0
683 stars 163 forks source link

Added if statement and replaced jQuery with Vanilla JS #76

Open PlanB007 opened 5 years ago

PlanB007 commented 5 years ago

As you can see by my commits I've added an if statement on one of your files. For WP this is a best practices pieces of code, you can find all the extra info on Google. For the jQuery, you used there was some very easy Vanilla JS which is, in this case, better than jQuery (check out youmightnotneedjquery.com ) always keep libs and frameworks as low as possible.