diff --git a/css/style.css b/css/style.css index 20685a8..f4d7186 100644 --- a/css/style.css +++ b/css/style.css @@ -532,6 +532,9 @@ input.userMenu-search-field:focus::-ms-input-placeholder { color: rgba( 0, 0, 0, .7 ); padding: 0 75px 0 15px; } +.config-menu { + right: 0; +} /*********************************** ********************* MINI PROFILE ***********************************/ diff --git a/js/twister_formatpost.js b/js/twister_formatpost.js index 732cea8..096b3ae 100644 --- a/js/twister_formatpost.js +++ b/js/twister_formatpost.js @@ -105,7 +105,7 @@ function postToElem( post, kind ) { var previewContainer = elem.find('.preview-container'), postText = elem.find(".post-text"); var postLink = postText.find("a[rel='nofollow']")[0] ? postText.find("a[rel='nofollow']")[0].href : ''; var ytRegExp = /(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?/i; - var vimeoRegExp = /http:\/\/(www\.)?vimeo.com\/(\d+)($|\/)/i; + var vimeoRegExp = /http[s]?:\/\/(www\.)?vimeo.com\/(\d+)($|\/)/i; if (postLink && localStorage['imagesPreview'] == 'enable' && (/(\.jpg)|(\.gif)|(\.png)|(\.jpeg)|(\.jpe)/i.test(postLink) || /https:\/\/img.bi/i.test(postLink))){ previewContainer.show();