This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.specs__slider').slick({ | |
dots: true, | |
centerMode: true, | |
focusOnSelect: true, | |
arrows: false, | |
customPaging: function(slider, i) { | |
return '<div class="thumbnails">' +$(slider.$slides[i]).find('img').prop('outerHTML')+ '</div>'; | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="google_translate_element"></div> | |
<script type="text/javascript"> | |
function googleTranslateElementInit() { | |
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element'); | |
} | |
</script> | |
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To add this flag: | |
Open the Command Palette (Ctrl+Shift+P). | |
Run the Preferences: Configure Runtime Arguments command. This command will open an argv.json file to configure runtime arguments. | |
You might see some default arguments there already. | |
Add "disable-hardware-acceleration": true. | |
Restart VS Code. | |
Note: Do not use this setting unless you are seeing issues! | |