mirror of
https://github.com/twisterarmy/twister-calm.git
synced 2025-03-13 05:51:07 +00:00
update
fixed english hashtag case dependency bug, expanding post by text select bug, some style fixes
This commit is contained in:
parent
cccfeecb3a
commit
a0242d87cb
@ -344,7 +344,7 @@ input.userMenu-search-field:focus::-ms-input-placeholder {
|
||||
.userMenu li.userMenu-dhtindicator a {
|
||||
display: inline-block;
|
||||
font: 12px/25px "Open Sans", sans-serif;
|
||||
padding: 0 0 0 45px;
|
||||
padding: 0 5px 0 41px;
|
||||
width: 60px;
|
||||
height: 25px;
|
||||
opacity: .9;
|
||||
@ -353,7 +353,7 @@ input.userMenu-search-field:focus::-ms-input-placeholder {
|
||||
content: 'DHT:';
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
left: 8px;
|
||||
width: 70px;
|
||||
height: 25px;
|
||||
}
|
||||
@ -1150,7 +1150,7 @@ input.userMenu-search-field:focus::-ms-input-placeholder {
|
||||
}
|
||||
.post-interactions
|
||||
{
|
||||
margin: 2px 10px 10px 60px;
|
||||
margin: -5px 10px 5px 60px;
|
||||
text-align: right;
|
||||
height: 25px;
|
||||
}
|
||||
|
@ -33,28 +33,34 @@
|
||||
"0:-)": "angel",
|
||||
"o.O": "confused",
|
||||
"o_O": "confused",
|
||||
"3:)": "devil",
|
||||
"<3": "heart",
|
||||
":*": "kiss",
|
||||
":-)": "smile",
|
||||
":]": "smile",
|
||||
"8|": "sunglasses",
|
||||
":/": "unsure",
|
||||
":\\": "unsure",
|
||||
";)": "wink",
|
||||
";-)": "wink",
|
||||
":'(": "cry",
|
||||
">:(": "grumpy",
|
||||
"3:)": "devil",
|
||||
":(": "frown",
|
||||
"=(": "frown",
|
||||
":-(": "frown",
|
||||
"8)": "glasses",
|
||||
":p": "tongue",
|
||||
":P": "tongue",
|
||||
":D": "grin",
|
||||
":-D": "grin",
|
||||
">:(": "grumpy",
|
||||
"<3": "heart",
|
||||
":*": "kiss",
|
||||
":-)": "smile",
|
||||
":]": "smile",
|
||||
":)": "smile",
|
||||
"=)": "smile",
|
||||
":D": "grin",
|
||||
":-D": "grin"
|
||||
"(:": "smile",
|
||||
"(-:": "smile",
|
||||
"[:": "smile",
|
||||
"(=": "smile",
|
||||
"8|": "sunglasses",
|
||||
":p": "tongue",
|
||||
":P": "tongue",
|
||||
":/": "unsure",
|
||||
":\\": "unsure",
|
||||
";)": "wink",
|
||||
";-)": "wink",
|
||||
"(;": "wink",
|
||||
"(-;": "wink"
|
||||
}
|
||||
},
|
||||
shortcode: function(eId){
|
||||
|
@ -6,7 +6,6 @@ $(function(){
|
||||
$('.post-text').on('click', 'a', function(e){
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$('#showqr').on('click', function(){
|
||||
if($('#qrcode img')[0]) return;
|
||||
var skey = document.getElementById('skey').innerText;
|
||||
|
@ -459,7 +459,7 @@ function initInterfaceCommon() {
|
||||
$( ".userMenu-config-dropdown" ).bind( "click", dropDownMenu );
|
||||
$( ".config-menu" ).clickoutside( closeThis );
|
||||
$( ".module.post" ).bind( "click", function(e) {
|
||||
postExpandFunction(e,$(this)); });
|
||||
if(window.getSelection() == 0)postExpandFunction(e,$(this)); });
|
||||
$( ".post-area-new" ).bind( "click", function(e) {
|
||||
composeNewPost(e,$(this));} );
|
||||
$( ".post-area-new" ).clickoutside( unfocusThis );
|
||||
|
@ -191,6 +191,7 @@ function clearHashtagProcessed() {
|
||||
}
|
||||
|
||||
function requestHashtag(postboard,hashtag,resource) {
|
||||
if(/[a-z]/i.test(hashtag))hashtag = hashtag.toLowerCase(); //hed//fix english hashtag case dependentcy bug
|
||||
dhtget( hashtag, resource, "m",
|
||||
function(args, data) {
|
||||
processHashtag(args.postboard, args.hashtag, data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user