Browse Source

seams to work with defualt theme and calm theme

master
Julian Steinwachs 10 years ago
parent
commit
c09e4199f3
  1. 6
      js/interface_common.js
  2. 1
      theme_nin/css/style.css

6
js/interface_common.js

@ -162,6 +162,7 @@ function newHashtagModal(hashtag) {
return hashtagModalContent; return hashtagModalContent;
} }
/*
function openHashtagModal(e) function openHashtagModal(e)
{ {
e.stopPropagation(); e.stopPropagation();
@ -176,6 +177,7 @@ function openHashtagModalFromSearch(hashtag)
{ {
window.location.hash = '#hashtag?hashtag=' + encodeURIComponent(hashtag); window.location.hash = '#hashtag?hashtag=' + encodeURIComponent(hashtag);
} }
*/
function openHashtagModalFromSearchHandler(hashtag) function openHashtagModalFromSearchHandler(hashtag)
{ {
@ -395,7 +397,7 @@ function watchHashChange(e)
//console.log(prevhashdata); //console.log(prevhashdata);
if(prevhashstring.length>0){ if(prevhashstring.length>0 && prevhashstring!=undefined){
$('.modal-back').css('display','inline'); $('.modal-back').css('display','inline');
$('.modal-back').on('click', function(){ $('.modal-back').on('click', function(){
window.location.hash = '#' + prevhashstring; window.location.hash = '#' + prevhashstring;
@ -1425,7 +1427,7 @@ function initInterfaceCommon() {
$replyText.on("keyup", replyTextKeypress ); $replyText.on("keyup", replyTextKeypress );
$( ".open-profile-modal").bind( "click", openProfileModal ); $( ".open-profile-modal").bind( "click", openProfileModal );
$( ".open-hashtag-modal").bind( "click", openHashtagModal ); //$( ".open-hashtag-modal").bind( "click", openHashtagModal );
//$( ".open-following-modal").bind( "click", openFollowingModal ); //$( ".open-following-modal").bind( "click", openFollowingModal );
$( ".userMenu-connections a").bind( "click", openMentionsModal ); $( ".userMenu-connections a").bind( "click", openMentionsModal );
$( ".mentions-from-user").bind( "click", openMentionsModal ); $( ".mentions-from-user").bind( "click", openMentionsModal );

1
theme_nin/css/style.css

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save