Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if tweet.type == BBDirectMessage %}
- {% if tweet.isOwn %}
- <div class="realName dmTo"><b>To:</b> <a href="{{tweet.userURL}}">{{tweet.author.fullName}}</a></div>
- {% else %}
- <div class="realName dmFrom"><a href="{{tweet.userURL}}">{{tweet.author.fullName}}</a></div>
- {% /if %}
- {% /if %}
- $(document).ready(function(){
- $(".dmTo a").innerHTML($(".dmFrom a:first").text());
- });
Add Comment
Please, Sign In to add comment