diff --git a/following.html b/following.html index b84852e..dffcc11 100644 --- a/following.html +++ b/following.html @@ -27,6 +27,8 @@ initInterfaceFollowing(); }); + + diff --git a/home.html b/home.html index f1ace68..8f99a94 100644 --- a/home.html +++ b/home.html @@ -22,6 +22,8 @@ + + diff --git a/index.html b/index.html index 6c6634e..d4543f6 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ - + diff --git a/interface_common.js b/interface_common.js index 8c20656..fff49e2 100644 --- a/interface_common.js +++ b/interface_common.js @@ -447,7 +447,7 @@ var retweetSubmit = function(e) function initInterfaceCommon() { - $( "body, .cancel, .modal-blackout" ).on( "click", function() { closeModal($(this)); } ); + $( "body" ).on( "click", ".cancel" , function() { closeModal($(this)); } ); $( ".post-reply" ).bind( "click", postReplyClick ); $( ".post-propagate" ).bind( "click", reTwistPopup ); $( ".userMenu-config-dropdown" ).bind( "click", dropDownMenu ); diff --git a/login.html b/login.html index e57d41a..91e3891 100644 --- a/login.html +++ b/login.html @@ -22,6 +22,8 @@ initInterfaceLogin(); }); + + diff --git a/network.html b/network.html index b148249..82053eb 100644 --- a/network.html +++ b/network.html @@ -24,6 +24,8 @@ initInterfaceNetwork(); }); + + diff --git a/profile-edit.html b/profile-edit.html index 5165b22..09879cc 100644 --- a/profile-edit.html +++ b/profile-edit.html @@ -24,6 +24,8 @@ initProfileEdit(); }); + + diff --git a/tmobile.html b/tmobile.html index 03bb029..ea7327c 100644 --- a/tmobile.html +++ b/tmobile.html @@ -40,6 +40,8 @@ + + diff --git a/twister_following.js b/twister_following.js index 530fbfb..5e3c98c 100644 --- a/twister_following.js +++ b/twister_following.js @@ -355,6 +355,11 @@ function closeSearchDialog() function userSearchKeypress(item) { var partialName = $(".userMenu-search-field").val().toLowerCase(); + + if ( partialName.substr( 0, 1 ) == '@' ) { + partialName = partialName.substr( 1 ); + } + //var partialName = item.val(); if( !partialName.length ) {