Don't direct people to the checkout page on refresh theme

Hi guys,

For my shop https://akaro-online.com/ I am using the shopify refresh theme.

A while ago I wanted to redirect people to my checkout page directly after they added their product to the shopping cart. I watched this video https://www.youtube.com/watch?v=AMtadMQLqUE and followed the steps. It worked.

After reviewing, I want to change it back (showing shopping cart on the right side). So I changed the ‘/checkout/’ back to window.routes.cart_url:

} else if (!this.cart) {
window.location = window.routes.cart_url;
return;

Unfortunately, you will still go directly to the checkout page. I also tried to copy paste from a refresh theme I used earlier, but nothing works. Can someone help me out?

Thanks a lot!

Will need to look up the code, since this is a free one will try it on my dev store first