{"id":5358,"date":"2020-07-14T11:24:21","date_gmt":"2020-07-14T09:24:21","guid":{"rendered":"https:\/\/www.bjarefagel.se\/?post_type=recept&#038;p=5358"},"modified":"2021-02-02T13:27:50","modified_gmt":"2021-02-02T12:27:50","slug":"grillad-citronrokt-kyckling","status":"publish","type":"recept","link":"https:\/\/www.bjarefagel.se\/en\/recept\/grillad-citronrokt-kyckling\/","title":{"rendered":"Grillad citronr\u00f6kt kyckling"},"content":{"rendered":"<svg aria-hidden=\"true\" style=\"position: absolute;width: 0;height: 0;overflow: hidden\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<defs>\n<symbol viewbox=\"9 9 46 42\" id=\"wpt-star-full\">\n\t<path d=\"m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z\" \/>\n<\/symbol>\n<\/defs>\n<\/svg>\n<a class=\"button tasty-recipes-print-button tasty-recipes-no-print tasty-recipes-print-above-card\" href=\"https:\/\/www.bjarefagel.se\/en\/recept\/grillad-citronrokt-kyckling\/print\/5361\/\">Print<\/a><span class=\"tasty-recipes-jump-target\" id=\"tasty-recipes-5361-jump-target\" style=\"display:block;padding-top:2px;margin-top:-2px;\"><\/span><div id=\"tasty-recipes-5361\" data-tr-id=\"5361\" class=\"tasty-recipes tasty-recipes-5361 tasty-recipes-display tasty-recipes-has-image\" data-tasty-recipes-customization=\"primary-color.background-color secondary-color.border-color\">\n\n\n<h2 class=\"tasty-recipes-title\" data-tasty-recipes-customization=\"h2-color.color h2-transform.text-transform\">Grillad citronr\u00f6kt kyckling<\/h2>\n<div class=\"tasty-recipes-image-button-container\">\n\t\t\t<div class=\"tasty-recipes-image\">\n\t\t\t<img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" data-pin-nopin=\"true\" \/>\t\t<\/div>\n\t\t<div class=\"tasty-recipes-buttons\">\n\t\t\t\t<div class=\"tasty-recipes-button-wrap\">\n\t\t\t\n<a class=\"button tasty-recipes-print-button tasty-recipes-no-print\" href=\"https:\/\/www.bjarefagel.se\/en\/recept\/grillad-citronrokt-kyckling\/print\/5361\/\" target=\"_blank\" data-tasty-recipes-customization=\"\">\n\t\t\t<svg viewBox=\"0 0 24 24\" class=\"svg-print\" aria-hidden=\"true\"><use xlink:href=\"#tasty-recipes-icon-print\"><\/use><\/svg>\n\t\tPrint Recipe<\/a>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n<\/div>\n\t<div class=\"tasty-recipes-rating\" data-tasty-recipes-customization=\"body-color.color\">\n\t\t\t\t\t<p><svg aria-hidden=\"true\" style=\"position: absolute;width: 0;height: 0;overflow: hidden\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<defs>\n<symbol viewbox=\"9 9 46 42\" id=\"wpt-star-full\">\n\t<path d=\"m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z\" \/>\n<\/symbol>\n<\/defs>\n<\/svg>\n<span class=\"tasty-recipes-ratings-buttons tasty-recipes-no-ratings-buttons\"\tdata-tr-default-rating=\"0\"\t>\t\t<span class=\"tasty-recipes-rating\" >\t\t<i class=\"checked\" data-rating=\"5\">\t\t\t<span class=\"tasty-recipes-rating-solid\" data-tr-clip=\"0\">\t\t\t\t<svg class=\"tasty-recipes-svg\" width=\"18\" height=\"17\"><use href=\"#wpt-star-full\" \/><\/svg>\t\t\t<\/span>\t\t\t<span class=\"tasty-recipes-screen-reader\">\t\t\t\t5 Stars\t\t\t<\/span>\t\t<\/i>\t<\/span>\t\t<span class=\"tasty-recipes-rating\" >\t\t<i class=\"checked\" data-rating=\"4\">\t\t\t<span class=\"tasty-recipes-rating-solid\" data-tr-clip=\"0\">\t\t\t\t<svg class=\"tasty-recipes-svg\" width=\"18\" height=\"17\"><use href=\"#wpt-star-full\" \/><\/svg>\t\t\t<\/span>\t\t\t<span class=\"tasty-recipes-screen-reader\">\t\t\t\t4 Stars\t\t\t<\/span>\t\t<\/i>\t<\/span>\t\t<span class=\"tasty-recipes-rating\" >\t\t<i class=\"checked\" data-rating=\"3\">\t\t\t<span class=\"tasty-recipes-rating-solid\" data-tr-clip=\"0\">\t\t\t\t<svg class=\"tasty-recipes-svg\" width=\"18\" height=\"17\"><use href=\"#wpt-star-full\" \/><\/svg>\t\t\t<\/span>\t\t\t<span class=\"tasty-recipes-screen-reader\">\t\t\t\t3 Stars\t\t\t<\/span>\t\t<\/i>\t<\/span>\t\t<span class=\"tasty-recipes-rating\" >\t\t<i class=\"checked\" data-rating=\"2\">\t\t\t<span class=\"tasty-recipes-rating-solid\" data-tr-clip=\"0\">\t\t\t\t<svg class=\"tasty-recipes-svg\" width=\"18\" height=\"17\"><use href=\"#wpt-star-full\" \/><\/svg>\t\t\t<\/span>\t\t\t<span class=\"tasty-recipes-screen-reader\">\t\t\t\t2 Stars\t\t\t<\/span>\t\t<\/i>\t<\/span>\t\t<span class=\"tasty-recipes-rating\" >\t\t<i class=\"checked\" data-rating=\"1\">\t\t\t<span class=\"tasty-recipes-rating-solid\" data-tr-clip=\"0\">\t\t\t\t<svg class=\"tasty-recipes-svg\" width=\"18\" height=\"17\"><use href=\"#wpt-star-full\" \/><\/svg>\t\t\t<\/span>\t\t\t<span class=\"tasty-recipes-screen-reader\">\t\t\t\t1 Star\t\t\t<\/span>\t\t<\/i>\t<\/span><\/span><\/p>\n\t\t\t\t\t\t\t<p><span data-tasty-recipes-customization=\"detail-label-color.color\" class=\"rating-label\">No reviews<\/span><\/p>\n\t\t\t<\/div>\n\n\n\n\t<div class=\"tasty-recipes-details\" data-tasty-recipes-customization=\"body-color.color\">\n\t\t<ul>\n\t\t\t\t\t\t\t<li class=\"author\"><strong data-tasty-recipes-customization=\"detail-label-color.color\" class=\"tasty-recipes-label\">Author:<\/strong> <span data-tasty-recipes-customization=\"detail-value-color.color\" class=\"tasty-recipes-author-name\">Catrin Weiefors. Receptet skickades in som en bidrag i en t\u00e4vling. <\/span><\/li>\n\t\t\t\t\t\t\t<li class=\"category\"><strong data-tasty-recipes-customization=\"detail-label-color.color\" class=\"tasty-recipes-label\">Category:<\/strong> <span data-tasty-recipes-customization=\"detail-value-color.color\" class=\"tasty-recipes-category\">Hel kyckling<\/span><\/li>\n\t\t\t\t\t\t\t<li class=\"cuisine\"><strong data-tasty-recipes-customization=\"detail-label-color.color\" class=\"tasty-recipes-label\">Cuisine:<\/strong> <span data-tasty-recipes-customization=\"detail-value-color.color\" class=\"tasty-recipes-cuisine\">Huvudr\u00e4tt<\/span><\/li>\n\t\t\t\t\t<\/ul>\n\t<\/div>\n\n\t<div class=\"tasty-recipes-ingredients\">\n\t\t<div class=\"tasty-recipes-ingredients-header\">\n\t\t\t<div class=\"tasty-recipes-ingredients-clipboard-container\">\n\t\t\t\t<h3 data-tasty-recipes-customization=\"h3-color.color h3-transform.text-transform\">Ingredients<\/h3>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"tasty-recipes-units-scale-container\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class=\"tasty-recipes-ingredients-body\" data-tasty-recipes-customization=\"body-color.color\">\n\t\t\t<p><strong>Fyra personer: <\/strong><\/p>\n<p>\u2022 en hel kyckling<br \/>\u2022 1 msk liquid smoke (flytande r\u00f6karom)<br \/>\u2022 1 msk citronpeppar<br \/>\u2022 1 tsk salt<br \/>\u2022 1 kruka f\u00e4rsk rosmarin<br \/>\u2022 2 citroner<br \/>\u2022 1 33 cl burk folk\u00f6l<br \/>\u2022 en stor syn\u00e5l<br \/>\u2022 steksn\u00f6re<br \/>\u2022 r\u00f6ksp\u00e5n och r\u00f6kl\u00e5da<\/p>\n<p>Currys\u00e5s med \u00e4pple:<br \/>\u2022 cr\u00e8me fraiche<br \/>\u2022 curry<br \/>\u2022 t\u00e4rnat \u00e4pple<br \/>\u2022 sweet chili-s\u00e5s<\/p>\n<p>Honungss\u00e5s:<br \/>\u2022cr\u00e8me fraiche<br \/>\u2022honung<\/p>\n<p>Chili-limes\u00e5s:<br \/>\u2022 cr\u00e8me fraiche<br \/>\u2022 f\u00e4rsk hackad chili<br \/>\u2022 lime juice<br \/>\u2022 lime zest<\/p>\n<!--INSIDE_INGREDIENTS-->\t\t<\/div>\n\t\t<div class=\"tasty-recipes-cook-mode\">\n\t<div class=\"tasty-recipes-cook-mode__container\">\n\t\t<label class=\"tasty-recipes-cook-mode__switch\">\n\t\t\t<input type=\"checkbox\" id=\"tasty_recipes_69dea4b5542ec_cookmode\">\n\t\t\t<span class=\"tasty-recipes-cook-mode__switch-slider tasty-recipes-cook-mode__switch-round\"\n\t\t\t\tdata-tasty-recipes-customization=\"button-color.background button-text-color.color\"><\/span>\n\t\t<\/label>\n\t\t<label for=\"tasty_recipes_69dea4b5542ec_cookmode\">\n\t\t\t<span class=\"tasty-recipes-cook-mode__label\">Cook Mode<\/span>\n\t\t\t<span class=\"tasty-recipes-cook-mode__helper\">\n\t\t\t\tPrevent your screen from going dark\t\t\t<\/span>\n\t\t<\/label>\n\t<\/div>\n<\/div>\n\t<\/div>\n\n\t<div class=\"tasty-recipe-instructions\">\n\t\t<div class=\"tasty-recipes-instructions-header\">\n\t\t\t<h3 data-tasty-recipes-customization=\"h3-color.color h3-transform.text-transform\">Instructions<\/h3>\n\t\t\t\t\t<\/div>\n\t\t<div class=\"tasty-recipes-instructions-body\" data-tasty-recipes-customization=\"body-color.color\">\n\t\t\t<p id=\"instruction-step-1\">1. Bl\u00f6tl\u00e4gg r\u00f6ksp\u00e5net i r\u00f6kl\u00e5dan.<br \/>2. Blanda citronpeppar, liquid smoke och salt till en pasta.<br \/>3. Snitta ett litet h\u00e5l i skinnet p\u00e5 Bj\u00e4rekycklingen s\u00e5 du kan f\u00f6ra in fingrarna under skinnet och f\u00f6rsiktigt lossa det \u00f6ver br\u00f6sten.\u00a0 Ta hj\u00e4lp av en tesked och f\u00f6r in \u201dcitronpepparpastan\u201d och smeta sedan ut det under skinnet med hj\u00e4lp av dina fingrar. G\u00f6r sedan likadant med l\u00e5ren och benen. Sy ihop h\u00e5len du gjort noggrant. Sy \u00e4ven ihop halsh\u00e5let.<br \/>4. \u00d6ppna en \u00f6lbruk och h\u00e4ll ur cirka en dl i ett glas. Placera ett par kvistar rosmarin i \u00f6let i \u00f6lburken och tr\u00e4 kycklingen \u00f6ver \u00f6lburken s\u00e5 att den st\u00e5r upp (det g\u00e5r ocks\u00e5 bra att anv\u00e4nda till exempel en Broiler King ist\u00e4llet f\u00f6r en \u00f6lburk).<br \/>5. H\u00e4ll resterande \u00f6l och 2 dl vatten p\u00e5 ett fat som t\u00e5l att st\u00e5 i grillen (har man inget fat som t\u00e5l att st\u00e5 i grillen kan detta moment uteslutas). Skiva citronerna och placera en skiva under varje vinge och l\u00e4gg resten i \u00f6l\/vatten blandningen. L\u00e4gg \u00e4ven i rosmarinkvistar.<br \/>6. Placera r\u00f6kl\u00e5dan i grillen och starta den. N\u00e4r grillen \u00e4r varm st\u00e4ll in kycklingen, st\u00e4ng av mittenbr\u00e4nnaren och s\u00e4nk v\u00e4rmen till 160-180\u00b0C grader (om du anv\u00e4nder kolgrill skjut kolen till sidorna av grillen och grilla kycklingen i mitten under lock). N\u00e4r kycklingen har en innertemperatur p\u00e5 72\u00b0C grader s\u00e5 \u00e4r den f\u00e4rdig.<br \/>7. Servera med en fr\u00e4sch sallad och n\u00e5gra kalla goda s\u00e5ser. F\u00f6rslagsvis currys\u00e5s med \u00e4pple, honungss\u00e5s och chili-limes\u00e5s.<\/p>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\n\n\n\n\n\n\n\n<script>\nwindow.trCommon={\"minRating\":6,\"ajaxurl\":\"https:\\\/\\\/www.bjarefagel.se\\\/wp-admin\\\/admin-ajax.php\",\"ratingNonce\":\"\",\"postId\":5358};\nwindow.TastyRecipes = window.TastyRecipes || {};\n\nwindow.TastyRecipes.smoothScroll = {\ninit() {\ndocument.addEventListener( 'click', ( e ) => {\nlet anchor = e.target;\nif ( anchor.tagName !== 'A' ) {\nanchor = anchor.closest( 'a.tasty-recipes-scrollto' );\n}\n\nif ( ! anchor || ! anchor.classList.contains( 'tasty-recipes-scrollto' ) ) {\nreturn;\n}\n\nconst elementHref = anchor.getAttribute( 'href' );\nif ( ! elementHref ) {\nreturn;\n}\n\ne.preventDefault();\nthis.goToSelector( elementHref );\n});\n},\ngoToSelector( selector ) {\nconst element = document.querySelector( selector );\nif ( ! element ) {\nreturn;\n}\nelement.scrollIntoView( { behavior: 'smooth' } );\n}\n};\n\ndocument.addEventListener(\n'DOMContentLoaded',\n() => window.TastyRecipes.smoothScroll.init()\n);\n\nwindow.TastyRecipes = window.TastyRecipes || {};\nwindow.TastyRecipes.cookMode = {\nwakeLockApi: false,\nwakeLock: false,\ncookModeSelector: '.tasty-recipes-cook-mode',\ninit() {\nif (\"wakeLock\" in navigator && \"request\" in navigator.wakeLock) {\nthis.wakeLockApi = navigator.wakeLock;\n}\n\nconst cookModes = document.querySelectorAll(this.cookModeSelector);\n\nif (cookModes.length > 0) {\nfor (const cookMode of cookModes) {\nif (this.wakeLockApi) {\ncookMode.querySelector('input[type=\"checkbox\"]').addEventListener(\"change\", event => {\nthis.checkboxChange(event.target);\n}, false);\n} else {\ncookMode.style.display = \"none\";\n}\n}\n}\n},\ncheckboxChange(checkbox) {\nif (checkbox.checked) {\nthis.lock();\n} else {\nthis.unlock();\n}\n},\nsetCheckboxesState(state) {\nconst checkboxes = document.querySelectorAll(this.cookModeSelector + ' input[type=\"checkbox\"]');\nfor (const checkbox of checkboxes) {\ncheckbox.checked = state;\n}\n},\nasync lock() {\ntry {\nthis.wakeLock = await this.wakeLockApi.request(\"screen\");\nthis.wakeLock.addEventListener(\"release\", () => {\nthis.wakeLock = false;\nthis.setCheckboxesState(false);\n});\nthis.setCheckboxesState(true);\n} catch (error) {\nthis.setCheckboxesState(false);\n}\n},\nunlock() {\nif (this.wakeLock) {\nthis.wakeLock.release();\nthis.wakeLock = false;\n}\nthis.setCheckboxesState(false);\n}\n};\n\n(function(callback) {\nif (document.readyState !== \"loading\") {\ncallback();\n} else {\ndocument.addEventListener(\"DOMContentLoaded\", callback);\n}\n})(() => {\nwindow.TastyRecipes.cookMode.init();\n});\n\n\n\nwindow.TastyRecipes = window.TastyRecipes || {};\n\nwindow.TastyRecipes.staticTooltip = {\nelement: null,\ntooltipElement: null,\ndeleting: false,\ninit( element ) {\nif ( this.deleting ) {\nreturn;\n}\nthis.element = element;\nthis.buildElements();\n},\ndestroy() {\nif ( ! this.tooltipElement || this.deleting ) {\nreturn;\n}\n\nthis.deleting = true;\nthis.tooltipElement.classList.remove( 'opened' );\n\nsetTimeout( () => {\nthis.tooltipElement.remove();\nthis.deleting = false;\n}, 500 );\n},\nbuildElements() {\nconst tooltipElement = document.createElement( 'div' );\ntooltipElement.classList.add( 'tasty-recipes-static-tooltip');\ntooltipElement.setAttribute( 'id', 'tasty-recipes-tooltip' );\n\nconst currentTooltipElement = document.getElementById( 'tasty-recipes-tooltip' );\nif ( currentTooltipElement ) {\ndocument.body.replaceChild( tooltipElement, currentTooltipElement );\n} else {\ndocument.body.appendChild( tooltipElement );\n}\n\nthis.tooltipElement = document.getElementById( 'tasty-recipes-tooltip' );\n},\nshow() {\nif ( ! this.tooltipElement ) {\nreturn;\n}\n\nconst tooltipTop = this.element.getBoundingClientRect().top\n+ window.scrollY\n- 10 \/\/ 10px offset.\n- this.tooltipElement.getBoundingClientRect().height;\nconst tooltipLeft = this.element.getBoundingClientRect().left\n- ( this.tooltipElement.getBoundingClientRect().width \/ 2 )\n+ ( this.element.getBoundingClientRect().width \/ 2 ) - 1;\nconst posLeft = Math.max( 10, tooltipLeft );\nthis.maybeRemoveTail( posLeft !== tooltipLeft );\n\nthis.tooltipElement.setAttribute( 'style', 'top:' + tooltipTop + 'px;left:' + posLeft + 'px;' );\nthis.tooltipElement.classList.add( 'opened' );\n\n},\nmaybeRemoveTail( removeTail ) {\nif ( removeTail ) {\nthis.tooltipElement.classList.add( 'tr-hide-tail' );\n} else {\nthis.tooltipElement.classList.remove( 'tr-hide-tail' );\n}\n},\nchangeMessage( message ) {\nif ( ! this.tooltipElement ) {\nreturn;\n}\nthis.tooltipElement.innerHTML = message;\n}\n};\n\nwindow.TastyRecipes.ajax = {\nsendPostRequest( url, data, success, failure ) {\nconst xhr = new XMLHttpRequest();\nxhr.open( 'POST', url, true );\nxhr.send( this.preparePostData( data ) );\n\nxhr.onreadystatechange = () => {\nif ( 4 !== xhr.readyState ) {\nreturn;\n}\nif ( xhr.status === 200 ) {\nsuccess( JSON.parse( xhr.responseText ) );\nreturn;\n}\n\nfailure( xhr );\n};\n\nxhr.onerror = () => {\nfailure( xhr );\n};\n},\npreparePostData( data ) {\nconst formData = new FormData();\n\nfor ( const key in data ) {\nformData.append( key, data[key] );\n}\nreturn formData;\n},\n};\n\nwindow.TastyRecipes.ratings = {\ndefaultRating: 0,\ncurrentRatingPercentage: 100,\nsavingRating: false,\ninit( minRating ) {\nthis.minRating = minRating;\n\nthis.formWatchRating();\nthis.closeTooltipWhenClickOutside();\nthis.addBodyClassBasedOnSelectedRating();\nthis.backwardCompFormRatingPosition();\n},\nformWatchRating() {\nconst ratings = document.querySelectorAll('.tasty-recipes-no-ratings-buttons [data-rating]');\nif ( ratings.length <= 0 ) {\nreturn;\n}\nfor ( const rating of ratings ) {\nrating.addEventListener( 'click', event => {\nevent.preventDefault();\nthis.defaultRating = event.target.closest( '.checked' ).dataset.rating;\nthis.setCheckedStar( event.target );\nthis.maybeSendRating( this.defaultRating, event.target );\nthis.setRatingInForm( this.defaultRating );\n} );\n}\n},\ncloseTooltipWhenClickOutside() {\nwindow.addEventListener( 'click', e => {\n\/\/ Bailout (don't remove the tooltip) when the clicked element is a rating star, or it's the tooltip itself.\nif ( e.target.closest( '.tasty-recipes-rating' ) || e.target.classList.contains( 'tasty-recipes-static-tooltip' ) ) {\nreturn;\n}\n\nwindow.TastyRecipes.staticTooltip.destroy();\n} );\n},\n setRatingInForm( rating ) {\nconst ratingInput = document.querySelector( '#respond .tasty-recipes-rating[value=\"' + rating + '\"]' );\nif ( ! ratingInput ) {\nreturn;\n}\nratingInput.click();\n},\naddBodyClassBasedOnSelectedRating() {\nconst ratingInputs = document.querySelectorAll( 'input.tasty-recipes-rating' );\nif ( ! ratingInputs ) {\nreturn;\n}\nfor ( const ratingInput of ratingInputs ) {\nratingInput.addEventListener( 'click', currentEvent => {\nconst selectedRating = currentEvent.target.getAttribute( 'value' );\nthis.handleBodyClassByRating( selectedRating );\nthis.toggleCommentTextareaRequired( selectedRating );\n} );\n}\n},\nhandleBodyClassByRating( rating ) {\nif ( rating < this.minRating ) {\ndocument.body.classList.remove( 'tasty-recipes-selected-minimum-rating' );\nreturn;\n}\ndocument.body.classList.add( 'tasty-recipes-selected-minimum-rating' );\n},\ntoggleCommentTextareaRequired( rating ) {\nconst commentTextarea = document.getElementById( 'comment' );\nif ( ! commentTextarea ) {\nreturn;\n}\n\nif ( rating < this.minRating ) {\ncommentTextarea.setAttribute( 'required', '' );\nreturn;\n}\n\ncommentTextarea.removeAttribute( 'required' );\n},\nmaybeSendRating( rating, element ) {\nif ( this.savingRating === rating ) {\nreturn;\n}\n\nthis.savingRating = rating;\nwindow.TastyRecipes.staticTooltip.init( element );\n\nconst recipeCardElement = element.closest( '.tasty-recipes' );\nif ( ! recipeCardElement ) {\nwindow.TastyRecipes.staticTooltip.destroy();\nreturn;\n}\n\nwindow.TastyRecipes.ajax.sendPostRequest(\nwindow.trCommon.ajaxurl,\n{\naction: 'tasty_recipes_save_rating',\nrating,\nnonce: window.trCommon.ratingNonce,\npost_id: window.trCommon.postId,\nrecipe_id: recipeCardElement.dataset.trId,\n},\n( response ) => {\nwindow.TastyRecipes.staticTooltip.changeMessage( response.data.message );\nwindow.TastyRecipes.staticTooltip.show();\nthis.updateAverageText( response.data, recipeCardElement );\nthis.maybeFillCommentForm( response.data );\n\n\/\/ Hide the tooltip after 5 seconds.\nsetTimeout( () => {\nthis.maybeResetTooltip( recipeCardElement, response.data, rating );\n}, 5000 );\n},\n() => {\nthis.resetTooltip( recipeCardElement );\n}\n);\n},\nupdateAverageText( data, recipeCardElement ) {\nif ( ! data.average ) {\nreturn;\n}\nthis.setRatingPercent( data );\n\nif ( ! data.count ) {\nreturn;\n}\n\nconst quickLink = document.querySelector( '.tasty-recipes-rating-link' );\nif ( quickLink ) {\nthis.setTextInContainer( quickLink, data );\nthis.setPartialStar( quickLink );\n}\n\nconst cardStars = recipeCardElement.querySelector( '.tasty-recipes-ratings-buttons' );\ncardStars.dataset.trDefaultRating = data.average;\nthis.setTextInContainer( recipeCardElement.querySelector( '.tasty-recipes-rating' ), data );\n},\nsetTextInContainer( container, data ) {\nif ( ! container ) {\nreturn;\n}\n\nif ( data.label ) {\nconst ratingLabelElement = container.querySelector( '.rating-label' );\nif ( ratingLabelElement ) {\nratingLabelElement.innerHTML = data.label;\n}\nreturn;\n}\n\nconst averageElement = container.querySelector( '.average' );\nif ( averageElement ) {\naverageElement.textContent = data.average;\n}\n\nconst countElement = container.querySelector( '.count' );\nif ( countElement ) {\ncountElement.textContent = data.count;\n}\n},\nsetPartialStar( container ) {\nconst highestStar = container.querySelector( '[data-rating=\"' + Math.ceil( this.defaultRating ) + '\"]' );\nif ( highestStar ) {\nhighestStar.dataset.trClip = this.currentRatingPercentage;\n}\n},\nsetRatingPercent( data ) {\nthis.defaultRating = data.average.toFixed( 1 );\nconst parts = data.average.toFixed( 2 ).toString().split( '.' );\nthis.currentRatingPercentage = parts[1] ? parts[1] : 100;\nif ( this.currentRatingPercentage === '00' ) {\nthis.currentRatingPercentage = 100;\n}\n},\nsetCheckedStar( target ) {\nconst cardRatingContainer = target.closest( '.tasty-recipes-ratings-buttons' );\nconst selectedRatingElement = cardRatingContainer.querySelector( '[data-tr-checked]' );\nif ( selectedRatingElement ) {\ndelete selectedRatingElement.dataset.trChecked;\n}\n\nconst thisStar = target.closest( '.tasty-recipes-rating' );\nthisStar.dataset.trChecked = 1;\nthisStar.querySelector( '[data-tr-clip]' ).dataset.trClip = 100;\n},\nmaybeFillCommentForm( data ) {\nif ( ! data.comment || ! data.comment.content ) {\nreturn;\n}\n\nconst commentForm = document.querySelector( '#commentform' );\nif ( ! commentForm ) {\nreturn;\n}\n\nconst commentBox = commentForm.querySelector( '[name=comment]' );\nif ( ! commentBox || commentBox.value ) {\nreturn;\n}\n\n\/\/ Add comment details for editing.\ncommentBox.innerHTML = data.comment.content;\nif ( data.comment.name ) {\ncommentForm.querySelector( '[name=author]' ).value = data.comment.name;\ncommentForm.querySelector( '[name=email]' ).value = data.comment.email;\n}\n},\nmaybeResetTooltip( recipeCardElement, data, rating ) {\nif ( this.savingRating === rating ) {\nthis.resetTooltip( recipeCardElement, data );\n}\n},\nresetTooltip( recipeCardElement, data ) {\nwindow.TastyRecipes.staticTooltip.destroy();\nthis.savingRating = false;\n\n\/\/ Reset the default rating.\nconst cardRatingContainer = recipeCardElement.querySelector( '.tasty-recipes-ratings-buttons' );\nif ( cardRatingContainer ) {\nthis.defaultRating = ( data && data.average ) ? data.average.toFixed(1) : cardRatingContainer.dataset.trDefaultRating;\ncardRatingContainer.dataset.trDefaultRating = this.defaultRating;\n\nthis.resetSelectedStar( cardRatingContainer, data );\n}\n},\nresetSelectedStar( cardRatingContainer ) {\nconst selectedRatingElement = cardRatingContainer.querySelector( '[data-rating=\"' + Math.ceil( this.defaultRating ) + '\"]' );\nif ( selectedRatingElement ) {\nselectedRatingElement.querySelector( '[data-tr-clip]' ).dataset.trClip = this.currentRatingPercentage;\nselectedRatingElement.parentNode.dataset.trChecked = 1;\n}\n\nconst previousSelectedElement= cardRatingContainer.querySelector( '[data-tr-checked]' );\nif ( previousSelectedElement ) {\nconst currentSelectedRating = previousSelectedElement.querySelector('[data-rating]');\nif ( currentSelectedRating !== selectedRatingElement ) {\ndelete previousSelectedElement.dataset.trChecked;\n}\n}\n},\nbackwardCompFormRatingPosition() {\nconst ratingsButtons = document.querySelector( '#respond .tasty-recipes-ratings-buttons, #tasty-recipes-comment-rating .tasty-recipes-ratings-buttons' );\nif ( ! ratingsButtons ) {\nreturn;\n}\nconst ratingsButtonsStyles = window.getComputedStyle(ratingsButtons);\nif ( ! ratingsButtonsStyles.display.includes( 'flex' ) ) {\nratingsButtons.style.direction = 'rtl';\n}\n\nif ( typeof tastyRecipesRating !== 'undefined' ) {\n\/\/ Select the rating that was previously selected in admin.\nratingsButtons.querySelector( '.tasty-recipes-rating[value=\"' + tastyRecipesRating + '\"]' ).checked = true;\n}\n\nconst ratingSpans = ratingsButtons.querySelectorAll( '.tasty-recipes-rating' );\nfor (const ratingSpan of ratingSpans) {\nratingSpan.addEventListener( 'click', event => {\nif ( ratingSpan === event.target ) {\nreturn;\n}\nratingSpan.previousElementSibling.click();\n} );\n}\n}\n};\n\n(function(callback) {\nif (document.readyState !== \"loading\") {\ncallback();\n} else {\nwindow.addEventListener( 'load', callback );\n}\n})(() => {\nwindow.TastyRecipes.ratings.init( window.trCommon ? window.trCommon.minRating : 4 );\n});\n<\/script><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":5359,"comment_status":"open","ping_status":"closed","template":"","categories":[],"receptkategori":[32],"class_list":["post-5358","recept","type-recept","status-publish","has-post-thumbnail","hentry","receptkategori-recept","entry","has-media"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Grillad citronr\u00f6kt kyckling - Bj\u00e4ref\u00e5gel i Torekow AB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Grillad citronr\u00f6kt kyckling - Bj\u00e4ref\u00e5gel i Torekow AB\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/\" \/>\n<meta property=\"og:site_name\" content=\"Bj\u00e4ref\u00e5gel i Torekow AB\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-02T12:27:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"979\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/\",\"url\":\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/\",\"name\":\"Grillad citronr\u00f6kt kyckling - Bj\u00e4ref\u00e5gel i Torekow AB\",\"isPartOf\":{\"@id\":\"https:\/\/www.bjarefagel.se\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg\",\"datePublished\":\"2020-07-14T09:24:21+00:00\",\"dateModified\":\"2021-02-02T12:27:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#primaryimage\",\"url\":\"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg\",\"contentUrl\":\"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg\",\"width\":1000,\"height\":979},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hem\",\"item\":\"https:\/\/www.bjarefagel.se\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Grillad citronr\u00f6kt kyckling\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bjarefagel.se\/#website\",\"url\":\"https:\/\/www.bjarefagel.se\/\",\"name\":\"Bj\u00e4ref\u00e5gel i Torekow AB\",\"description\":\"H\u00e5llbar kycklinguppf\u00f6dning sedan 1997\",\"publisher\":{\"@id\":\"https:\/\/www.bjarefagel.se\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bjarefagel.se\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.bjarefagel.se\/#organization\",\"name\":\"Bj\u00e4ref\u00e5gel i Torekow AB\",\"url\":\"https:\/\/www.bjarefagel.se\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.bjarefagel.se\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/03\/bjarefagel-logotype-webb.png\",\"contentUrl\":\"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/03\/bjarefagel-logotype-webb.png\",\"width\":328,\"height\":90,\"caption\":\"Bj\u00e4ref\u00e5gel i Torekow AB\"},\"image\":{\"@id\":\"https:\/\/www.bjarefagel.se\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Grillad citronr\u00f6kt kyckling - Bj\u00e4ref\u00e5gel i Torekow AB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/","og_locale":"en_GB","og_type":"article","og_title":"Grillad citronr\u00f6kt kyckling - Bj\u00e4ref\u00e5gel i Torekow AB","og_url":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/","og_site_name":"Bj\u00e4ref\u00e5gel i Torekow AB","article_modified_time":"2021-02-02T12:27:50+00:00","og_image":[{"width":1000,"height":979,"url":"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/","url":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/","name":"Grillad citronr\u00f6kt kyckling - Bj\u00e4ref\u00e5gel i Torekow AB","isPartOf":{"@id":"https:\/\/www.bjarefagel.se\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#primaryimage"},"image":{"@id":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg","datePublished":"2020-07-14T09:24:21+00:00","dateModified":"2021-02-02T12:27:50+00:00","breadcrumb":{"@id":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#primaryimage","url":"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg","contentUrl":"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/07\/Grillad-citronrokt-Bjarekyckling_web.jpg","width":1000,"height":979},{"@type":"BreadcrumbList","@id":"https:\/\/www.bjarefagel.se\/vara-recept\/grillad-citronrokt-kyckling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hem","item":"https:\/\/www.bjarefagel.se\/en\/"},{"@type":"ListItem","position":2,"name":"Grillad citronr\u00f6kt kyckling"}]},{"@type":"WebSite","@id":"https:\/\/www.bjarefagel.se\/#website","url":"https:\/\/www.bjarefagel.se\/","name":"Bj\u00e4ref\u00e5gel i Torekow AB","description":"H\u00e5llbar kycklinguppf\u00f6dning sedan 1997","publisher":{"@id":"https:\/\/www.bjarefagel.se\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bjarefagel.se\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.bjarefagel.se\/#organization","name":"Bj\u00e4ref\u00e5gel i Torekow AB","url":"https:\/\/www.bjarefagel.se\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.bjarefagel.se\/#\/schema\/logo\/image\/","url":"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/03\/bjarefagel-logotype-webb.png","contentUrl":"https:\/\/www.bjarefagel.se\/wp-content\/uploads\/2020\/03\/bjarefagel-logotype-webb.png","width":328,"height":90,"caption":"Bj\u00e4ref\u00e5gel i Torekow AB"},"image":{"@id":"https:\/\/www.bjarefagel.se\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/recept\/5358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/recept"}],"about":[{"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/types\/recept"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/comments?post=5358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/media\/5359"}],"wp:attachment":[{"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/media?parent=5358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/categories?post=5358"},{"taxonomy":"receptkategori","embeddable":true,"href":"https:\/\/www.bjarefagel.se\/en\/wp-json\/wp\/v2\/receptkategori?post=5358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}