Imagine the perfect combination of two beloved desserts: the soft, buttery sweetness of a sugar cookie and the creamy decadence of cheesecake. That’s what makes these Sugar Cookie Cheesecake Bars – Simple and Irresistible! an absolute dream. They’re the kind of dessert that disappears within minutes at parties, leaving everyone asking for the recipe. And the best part? They’re surprisingly easy to make!
Whether you’re baking for a special occasion or simply treating yourself, these cheesecake bars are guaranteed to be a crowd-pleaser. Let’s dive into what makes this dessert so extraordinary and how you can make it at home.
Why You’ll Love Sugar Cookie Cheesecake Bars
1. Two Classics in One Dessert
These bars are the perfect marriage of sugar cookies and cheesecake. Each bite delivers the sweet nostalgia of a cookie with the creamy texture of a classic cheesecake.
2. Beginner-Friendly Recipe
Even if you’re new to baking, this recipe is simple enough to follow. With a few basic ingredients and clear instructions, you’ll create a dessert that looks and tastes like it came from a bakery.
3. Ideal for Any Occasion
Whether it’s a holiday gathering, a birthday celebration, or a quiet weekend indulgence, these bars fit every setting. They’re easy to transport and serve, making them perfect for potlucks and parties.
4. Customizable to Your Taste
Add sprinkles, drizzle chocolate, or mix in seasonal flavors like pumpkin spice or peppermint for a festive twist. These bars are as versatile as they are delicious.
Ingredients for Sugar Cookie Cheesecake Bars
Here’s what you’ll need to create these decadent bars. Each ingredient plays a key role in achieving the perfect balance of flavor and texture.
For the Sugar Cookie Layer
- 2 ¾ cups all-purpose flour
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- 1 cup unsalted butter, softened
- 1 ½ cups granulated sugar
- 1 large egg
- 1 teaspoon vanilla extract
For the Cheesecake Layer
- 16 oz cream cheese, softened
- ½ cup granulated sugar
- 2 large eggs
- 1 teaspoon vanilla extract
- 2 tablespoons all-purpose flour
Optional Toppings
- Sprinkles
- White chocolate drizzle
- Crushed candies
Step-by-Step Guide to Making Sugar Cookie Cheesecake Bars
Follow these simple steps to create a dessert that will wow your family and friends.
Step 1: Prepare Your Ingredients and Pan
- Preheat your oven to 350°F (175°C).
- Line a 9×13-inch baking dish with parchment paper, leaving overhangs on the sides for easy removal.
- Gather all your ingredients to ensure a smooth baking process.
Step 2: Make the Sugar Cookie Dough
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- In a large bowl, beat the softened butter and granulated sugar until light and fluffy.
- Add the egg and vanilla extract, mixing until fully combined.
- Gradually add the dry ingredients to the wet ingredients, mixing until a soft dough forms.
Step 3: Press the Cookie Layer
- Press half of the sugar cookie dough into the bottom of the prepared baking dish. Use your fingers or the back of a spoon to spread it evenly.
Step 4: Make the Cheesecake Filling
- In a separate bowl, beat the cream cheese and sugar until smooth and creamy.
- Add the eggs one at a time, mixing well after each addition.
- Mix in the vanilla extract and flour until fully incorporated.
Step 5: Assemble the Layers
- Pour the cheesecake mixture over the sugar cookie base, spreading it evenly.
- Crumble the remaining sugar cookie dough over the top of the cheesecake layer.
Step 6: Bake
- Bake the bars for 35–40 minutes, or until the edges are lightly golden and the center is set.
- Remove the pan from the oven and let the bars cool completely at room temperature. Then, refrigerate for at least 2 hours to set.
Step 7: Slice and Serve
- Use the parchment paper overhang to lift the bars from the pan.
- Slice into squares or rectangles and serve chilled. Optional: Add your favorite toppings for extra flair.
Tips for Perfect Sugar Cookie Cheesecake Bars
- Use Room-Temperature Ingredients: Softened butter and cream cheese blend more smoothly, ensuring even layers and a creamy filling.
- Don’t Overbake: Remove the bars from the oven as soon as the edges are golden. Overbaking can lead to a dry texture.
- Chill Before Serving: Refrigerating the bars allows the cheesecake layer to fully set, making them easier to slice and serve.
- Customize the Dough: Add a pinch of cinnamon or nutmeg to the cookie layer for a warm, spiced flavor.
Creative Variations to Try
1. Holiday Sugar Cookie Cheesecake Bars
- Add festive sprinkles to the cookie dough or top with a drizzle of red and green icing.
2. Chocolate Chip Cheesecake Bars
- Mix mini chocolate chips into the sugar cookie dough for bursts of chocolate in every bite.
3. Fruity Twist
- Add a layer of fruit preserves, like strawberry or raspberry, between the cookie base and cheesecake filling.
4. Gluten-Free Version
- Swap the all-purpose flour for a gluten-free baking mix.
Serving Suggestions
Pair your sugar cookie cheesecake bars with the perfect accompaniments:
- Hot Beverages: Serve with coffee, tea, or hot cocoa for a cozy treat.
- Fruit Garnish: Add fresh berries for a pop of color and tangy contrast.
- Ice Cream: Top with a scoop of vanilla or salted caramel ice cream for extra indulgence.
How to Store Sugar Cookie Cheesecake Bars
Refrigeration
Store leftover bars in an airtight container in the refrigerator for up to 5 days.
Freezing
Wrap individual bars tightly in plastic wrap and place them in a freezer-safe bag. Freeze for up to 2 months. Thaw in the refrigerator before serving.
Frequently Asked Questions
1. Can I make these bars ahead of time?
Yes! These bars are perfect for making ahead. Simply refrigerate them after baking and slice just before serving.
2. Can I use store-bought sugar cookie dough?
Absolutely. Store-bought dough works as a convenient shortcut, though homemade dough delivers the best flavor and texture.
3. How do I prevent the cheesecake layer from cracking?
Avoid overbaking and ensure all ingredients are at room temperature to create a smooth, crack-free filling.
4. What’s the best way to slice the bars neatly?
Use a sharp knife dipped in hot water and wiped clean between each cut for smooth, even slices.
5. Can I add nuts to this recipe?
Yes! Chopped pecans or walnuts make a great addition to the cookie dough or as a topping.
6. How long should I chill the bars before serving?
Refrigerate the bars for at least 2 hours to allow the layers to set properly.
Conclusion: Your New Go-To Dessert
These Sugar Cookie Cheesecake Bars – Simple and Irresistible! are destined to become a staple in your dessert repertoire. With their buttery cookie base, creamy cheesecake filling, and endless customization options, they’re perfect for every occasion.
So why wait? Gather your ingredients, preheat your oven, and treat yourself to this delightful dessert. Don’t forget to share your creations with family and friends—they’ll be begging for the recipe!
Sugar Cookie Cheesecake Bars – Simple and Irresistible!
Total Time: 4 hours
Yield: 12 servings
Description
This Classic Sugar Cookie Cheesecake Recipe – Perfectly Sweet and Creamy! is the ultimate dessert mashup, combining a buttery sugar cookie crust, creamy cheesecake filling, and festive sprinkles. Topped with a decadent white chocolate ganache, it’s a show-stopping treat perfect for any celebration or indulgent weekend.
Ingredients
Sugar Cookie Crust:
- 1 ¾ cup all-purpose flour
- ½ teaspoon baking soda
- ½ teaspoon salt
- ¾ cup unsalted butter, room temperature
- 1 cup cane sugar
- 1 teaspoon pure vanilla extract
- 1 large egg, room temperature
- 1 egg yolk, room temperature
- ⅓ cup Christmas sprinkles
Cookie Dough Balls:
- 1 ½ cups all-purpose flour
- ½ teaspoon salt
- ½ cup unsalted butter, room temperature
- 1 cup cane sugar
- 1 teaspoon pure vanilla extract
- 5 tablespoons milk
- ⅓ cup Christmas sprinkles
Cheesecake Filling:
- 32 oz cream cheese, room temperature
- ⅔ cup cane sugar
- ¾ cup sour cream or Greek yogurt, room temperature
- ½ cup heavy cream, room temperature
- 1 teaspoon pure vanilla extract
- 4 large eggs, room temperature
- ⅔ of the cookie dough balls
White Chocolate Ganache:
- 1 cup white chocolate chips
- ⅓ cup heavy cream
Instructions
Step 1: Prepare the Sugar Cookie Crust
- Preheat your oven to 350°F (175°C). Grease a 9-inch springform pan with butter or non-stick spray.
- In a bowl, whisk together flour, baking soda, and salt.
- In another bowl, beat butter and cane sugar until creamy. Mix in vanilla extract, egg, and egg yolk.
- Gradually add dry ingredients to the wet mixture, stirring until combined. Fold in sprinkles.
- Press the dough into the bottom of the pan. Bake for 8–10 minutes, then let it cool.
Step 2: Make the Cookie Dough Balls
- Combine flour, salt, butter, cane sugar, vanilla extract, and milk in a mixing bowl until a dough forms.
- Fold in sprinkles, then roll the dough into marble-sized balls.
- Reserve ⅓ of the balls for decoration and refrigerate the rest.
Step 3: Prepare the Cheesecake Filling
- Lower the oven temperature to 325°F (160°C).
- In a large bowl, beat cream cheese and cane sugar until smooth.
- Add sour cream, heavy cream, and vanilla extract, mixing well.
- Beat in eggs one at a time, ensuring a smooth batter.
- Gently fold in the refrigerated cookie dough balls.
Step 4: Assemble and Bake the Cheesecake
- Pour the filling over the cooled crust, spreading evenly.
- Bake for 55–65 minutes, or until the edges are set and the center slightly jiggles.
- Turn off the oven and leave the cheesecake inside for 1 hour to cool gradually.
- Refrigerate for at least 4 hours, or overnight.
Step 5: Prepare the White Chocolate Ganache
- Heat white chocolate chips and heavy cream in a microwave-safe bowl in 30-second intervals, stirring until smooth.
- Cool slightly, then pour the ganache over the chilled cheesecake.
- Decorate with reserved cookie dough balls and sprinkles.
Notes
- Room Temperature Ingredients: Ensure all ingredients are at room temperature for a smoother filling.
- Avoid Overmixing: Mixing too much air into the batter can cause cracks.
- Chill Thoroughly: This helps the cheesecake set properly for clean slices.
- Storage: Refrigerate leftovers for up to 5 days or freeze for up to 2 months.
- Prep Time: 30 minutes
- Cook Time: 1 hour 5 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
window.trCommon={“minRating”:6,”ajaxurl”:”https:\/\/forurenergy.com\/wp-admin\/admin-ajax.php”,”ratingNonce”:””,”postId”:513};
window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.smoothScroll = {
init() {
document.addEventListener( ‘click’, ( e ) => {
let anchor = e.target;
if ( anchor.tagName !== ‘A’ ) {
anchor = anchor.closest( ‘a.tasty-recipes-scrollto’ );
}
if ( ! anchor || ! anchor.classList.contains( ‘tasty-recipes-scrollto’ ) ) {
return;
}
const elementHref = anchor.getAttribute( ‘href’ );
if ( ! elementHref ) {
return;
}
e.preventDefault();
this.goToSelector( elementHref );
});
},
goToSelector( selector ) {
const element = document.querySelector( selector );
if ( ! element ) {
return;
}
element.scrollIntoView( { behavior: ‘smooth’ } );
}
};
document.addEventListener(
‘DOMContentLoaded’,
() => window.TastyRecipes.smoothScroll.init()
);
(function(){
document.querySelectorAll(‘[data-tr-ingredient-checkbox]’).forEach(function(el) {
var input = el.querySelector(‘.tr-ingredient-checkbox-container input[type=”checkbox”]’);
if ( ! input ) {
return;
}
if (input.checked) {
el.dataset.trIngredientCheckbox = ‘checked’;
}
el.addEventListener(‘click’, function(event) {
if ( ‘A’ === event.target.nodeName
|| ‘INPUT’ === event.target.nodeName
|| ‘LABEL’ === event.target.nodeName ) {
return;
}
input.click();
});
input.addEventListener(‘change’, function() {
el.dataset.trIngredientCheckbox = input.checked ? ‘checked’ : ”;
});
});
}());
window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.cookMode = {
wakeLockApi: false,
wakeLock: false,
cookModeSelector: ‘.tasty-recipes-cook-mode’,
init() {
if (“wakeLock” in navigator && “request” in navigator.wakeLock) {
this.wakeLockApi = navigator.wakeLock;
}
const cookModes = document.querySelectorAll(this.cookModeSelector);
if (cookModes.length > 0) {
for (const cookMode of cookModes) {
if (this.wakeLockApi) {
cookMode.querySelector(‘input[type=”checkbox”]’).addEventListener(“change”, event => {
this.checkboxChange(event.target);
}, false);
} else {
cookMode.style.display = “none”;
}
}
}
},
checkboxChange(checkbox) {
if (checkbox.checked) {
this.lock();
} else {
this.unlock();
}
},
setCheckboxesState(state) {
const checkboxes = document.querySelectorAll(this.cookModeSelector + ‘ input[type=”checkbox”]’);
for (const checkbox of checkboxes) {
checkbox.checked = state;
}
},
async lock() {
try {
this.wakeLock = await this.wakeLockApi.request(“screen”);
this.wakeLock.addEventListener(“release”, () => {
this.wakeLock = false;
this.setCheckboxesState(false);
});
this.setCheckboxesState(true);
} catch (error) {
this.setCheckboxesState(false);
}
},
unlock() {
if (this.wakeLock) {
this.wakeLock.release();
this.wakeLock = false;
}
this.setCheckboxesState(false);
}
};
(function(callback) {
if (document.readyState !== “loading”) {
callback();
} else {
document.addEventListener(“DOMContentLoaded”, callback);
}
})(() => {
window.TastyRecipes.cookMode.init();
});
window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.staticTooltip = {
element: null,
tooltipElement: null,
deleting: false,
init( element ) {
if ( this.deleting ) {
return;
}
this.element = element;
this.buildElements();
},
destroy() {
if ( ! this.tooltipElement || this.deleting ) {
return;
}
this.deleting = true;
this.tooltipElement.classList.remove( ‘opened’ );
setTimeout( () => {
this.tooltipElement.remove();
this.deleting = false;
}, 500 );
},
buildElements() {
const tooltipElement = document.createElement( ‘div’ );
tooltipElement.classList.add( ‘tasty-recipes-static-tooltip’);
tooltipElement.setAttribute( ‘id’, ‘tasty-recipes-tooltip’ );
const currentTooltipElement = document.getElementById( ‘tasty-recipes-tooltip’ );
if ( currentTooltipElement ) {
document.body.replaceChild( tooltipElement, currentTooltipElement );
} else {
document.body.appendChild( tooltipElement );
}
this.tooltipElement = document.getElementById( ‘tasty-recipes-tooltip’ );
},
show() {
if ( ! this.tooltipElement ) {
return;
}
const tooltipTop = this.element.getBoundingClientRect().top
+ window.scrollY
– 10 // 10px offset.
– this.tooltipElement.getBoundingClientRect().height;
const tooltipLeft = this.element.getBoundingClientRect().left
– ( this.tooltipElement.getBoundingClientRect().width / 2 )
+ ( this.element.getBoundingClientRect().width / 2 ) – 1;
const posLeft = Math.max( 10, tooltipLeft );
this.maybeRemoveTail( posLeft !== tooltipLeft );
this.tooltipElement.setAttribute( ‘style’, ‘top:’ + tooltipTop + ‘px;left:’ + posLeft + ‘px;’ );
this.tooltipElement.classList.add( ‘opened’ );
},
maybeRemoveTail( removeTail ) {
if ( removeTail ) {
this.tooltipElement.classList.add( ‘tr-hide-tail’ );
} else {
this.tooltipElement.classList.remove( ‘tr-hide-tail’ );
}
},
changeMessage( message ) {
if ( ! this.tooltipElement ) {
return;
}
this.tooltipElement.innerHTML = message;
}
};
window.TastyRecipes.ajax = {
sendPostRequest( url, data, success, failure ) {
const xhr = new XMLHttpRequest();
xhr.open( ‘POST’, url, true );
xhr.send( this.preparePostData( data ) );
xhr.onreadystatechange = () => {
if ( 4 !== xhr.readyState ) {
return;
}
if ( xhr.status === 200 ) {
success( JSON.parse( xhr.responseText ) );
return;
}
failure( xhr );
};
xhr.onerror = () => {
failure( xhr );
};
},
preparePostData( data ) {
const formData = new FormData();
for ( const key in data ) {
formData.append( key, data[key] );
}
return formData;
},
};
window.TastyRecipes.ratings = {
defaultRating: 0,
currentRatingPercentage: 100,
savingRating: false,
init( minRating ) {
this.minRating = minRating;
this.formWatchRating();
this.closeTooltipWhenClickOutside();
this.addBodyClassBasedOnSelectedRating();
this.backwardCompFormRatingPosition();
},
formWatchRating() {
const ratings = document.querySelectorAll(‘.tasty-recipes-no-ratings-buttons [data-rating]’);
if ( ratings.length {
event.preventDefault();
this.defaultRating = event.target.closest( ‘.checked’ ).dataset.rating;
this.setCheckedStar( event.target );
this.maybeSendRating( this.defaultRating, event.target );
this.setRatingInForm( this.defaultRating );
} );
}
},
closeTooltipWhenClickOutside() {
window.addEventListener( ‘click’, e => {
// Bailout (don’t remove the tooltip) when the clicked element is a rating star, or it’s the tooltip itself.
if ( e.target.closest( ‘.tasty-recipes-rating’ ) || e.target.classList.contains( ‘tasty-recipes-static-tooltip’ ) ) {
return;
}
window.TastyRecipes.staticTooltip.destroy();
} );
},
setRatingInForm( rating ) {
const ratingInput = document.querySelector( ‘#respond .tasty-recipes-rating[value=”‘ + rating + ‘”]’ );
if ( ! ratingInput ) {
return;
}
ratingInput.click();
},
addBodyClassBasedOnSelectedRating() {
const ratingInputs = document.querySelectorAll( ‘input.tasty-recipes-rating’ );
if ( ! ratingInputs ) {
return;
}
for ( const ratingInput of ratingInputs ) {
ratingInput.addEventListener( ‘click’, currentEvent => {
const selectedRating = currentEvent.target.getAttribute( ‘value’ );
this.handleBodyClassByRating( selectedRating );
this.toggleCommentTextareaRequired( selectedRating );
} );
}
},
handleBodyClassByRating( rating ) {
if ( rating < this.minRating ) {
document.body.classList.remove( 'tasty-recipes-selected-minimum-rating' );
return;
}
document.body.classList.add( 'tasty-recipes-selected-minimum-rating' );
},
toggleCommentTextareaRequired( rating ) {
const commentTextarea = document.getElementById( 'comment' );
if ( ! commentTextarea ) {
return;
}
if ( rating {
window.TastyRecipes.staticTooltip.changeMessage( response.data.message );
window.TastyRecipes.staticTooltip.show();
this.updateAverageText( response.data, recipeCardElement );
this.maybeFillCommentForm( response.data );
// Hide the tooltip after 5 seconds.
setTimeout( () => {
this.maybeResetTooltip( recipeCardElement, response.data, rating );
}, 5000 );
},
() => {
this.resetTooltip( recipeCardElement );
}
);
},
updateAverageText( data, recipeCardElement ) {
if ( ! data.average ) {
return;
}
this.setRatingPercent( data );
if ( ! data.count ) {
return;
}
const quickLink = document.querySelector( ‘.tasty-recipes-rating-link’ );
if ( quickLink ) {
this.setTextInContainer( quickLink, data );
this.setPartialStar( quickLink );
}
const cardStars = recipeCardElement.querySelector( ‘.tasty-recipes-ratings-buttons’ );
cardStars.dataset.trDefaultRating = data.average;
this.setTextInContainer( recipeCardElement.querySelector( ‘.tasty-recipes-rating’ ), data );
},
setTextInContainer( container, data ) {
if ( ! container ) {
return;
}
if ( data.label ) {
const ratingLabelElement = container.querySelector( ‘.rating-label’ );
if ( ratingLabelElement ) {
ratingLabelElement.innerHTML = data.label;
}
return;
}
const averageElement = container.querySelector( ‘.average’ );
if ( averageElement ) {
averageElement.textContent = data.average;
}
const countElement = container.querySelector( ‘.count’ );
if ( countElement ) {
countElement.textContent = data.count;
}
},
setPartialStar( container ) {
const highestStar = container.querySelector( ‘[data-rating=”‘ + Math.ceil( this.defaultRating ) + ‘”]’ );
if ( highestStar ) {
highestStar.dataset.trClip = this.currentRatingPercentage;
}
},
setRatingPercent( data ) {
this.defaultRating = data.average.toFixed( 1 );
const parts = data.average.toFixed( 2 ).toString().split( ‘.’ );
this.currentRatingPercentage = parts[1] ? parts[1] : 100;
if ( this.currentRatingPercentage === ’00’ ) {
this.currentRatingPercentage = 100;
}
},
setCheckedStar( target ) {
const cardRatingContainer = target.closest( ‘.tasty-recipes-ratings-buttons’ );
const selectedRatingElement = cardRatingContainer.querySelector( ‘[data-tr-checked]’ );
if ( selectedRatingElement ) {
delete selectedRatingElement.dataset.trChecked;
}
const thisStar = target.closest( ‘.tasty-recipes-rating’ );
thisStar.dataset.trChecked = 1;
thisStar.querySelector( ‘[data-tr-clip]’ ).dataset.trClip = 100;
},
maybeFillCommentForm( data ) {
if ( ! data.comment || ! data.comment.content ) {
return;
}
const commentForm = document.querySelector( ‘#commentform’ );
if ( ! commentForm ) {
return;
}
const commentBox = commentForm.querySelector( ‘[name=comment]’ );
if ( ! commentBox || commentBox.value ) {
return;
}
// Add comment details for editing.
commentBox.innerHTML = data.comment.content;
if ( data.comment.name ) {
commentForm.querySelector( ‘[name=author]’ ).value = data.comment.name;
commentForm.querySelector( ‘[name=email]’ ).value = data.comment.email;
}
},
maybeResetTooltip( recipeCardElement, data, rating ) {
if ( this.savingRating === rating ) {
this.resetTooltip( recipeCardElement, data );
}
},
resetTooltip( recipeCardElement, data ) {
window.TastyRecipes.staticTooltip.destroy();
this.savingRating = false;
// Reset the default rating.
const cardRatingContainer = recipeCardElement.querySelector( ‘.tasty-recipes-ratings-buttons’ );
if ( cardRatingContainer ) {
this.defaultRating = ( data && data.average ) ? data.average.toFixed(1) : cardRatingContainer.dataset.trDefaultRating;
cardRatingContainer.dataset.trDefaultRating = this.defaultRating;
this.resetSelectedStar( cardRatingContainer, data );
}
},
resetSelectedStar( cardRatingContainer ) {
const selectedRatingElement = cardRatingContainer.querySelector( ‘[data-rating=”‘ + Math.ceil( this.defaultRating ) + ‘”]’ );
if ( selectedRatingElement ) {
selectedRatingElement.querySelector( ‘[data-tr-clip]’ ).dataset.trClip = this.currentRatingPercentage;
selectedRatingElement.parentNode.dataset.trChecked = 1;
}
const previousSelectedElement= cardRatingContainer.querySelector( ‘[data-tr-checked]’ );
if ( previousSelectedElement ) {
const currentSelectedRating = previousSelectedElement.querySelector(‘[data-rating]’);
if ( currentSelectedRating !== selectedRatingElement ) {
delete previousSelectedElement.dataset.trChecked;
}
}
},
backwardCompFormRatingPosition() {
const ratingsButtons = document.querySelector( ‘#respond .tasty-recipes-ratings-buttons, #tasty-recipes-comment-rating .tasty-recipes-ratings-buttons’ );
if ( ! ratingsButtons ) {
return;
}
const ratingsButtonsStyles = window.getComputedStyle(ratingsButtons);
if ( ! ratingsButtonsStyles.display.includes( ‘flex’ ) ) {
ratingsButtons.style.direction = ‘rtl’;
}
if ( typeof tastyRecipesRating !== ‘undefined’ ) {
// Select the rating that was previously selected in admin.
ratingsButtons.querySelector( ‘.tasty-recipes-rating[value=”‘ + tastyRecipesRating + ‘”]’ ).checked = true;
}
const ratingSpans = ratingsButtons.querySelectorAll( ‘.tasty-recipes-rating’ );
for (const ratingSpan of ratingSpans) {
ratingSpan.addEventListener( ‘click’, event => {
if ( ratingSpan === event.target ) {
return;
}
ratingSpan.previousElementSibling.click();
} );
}
}
};
(function(callback) {
if (document.readyState !== “loading”) {
callback();
} else {
window.addEventListener( ‘load’, callback );
}
})(() => {
window.TastyRecipes.ratings.init( window.trCommon ? window.trCommon.minRating : 4 );
});
The post Sugar Cookie Cheesecake Bars – Simple and Irresistible! appeared first on FOR UR ENERGY RECIPES.