I repaced onClick with onclick

else if (variable_get('tweet_new_window', 'target') == 'js') {
    $attributes['onclick'] = "window.open('$path?status=$tweet','twitter','')";
    $path = $_GET['q'];
    $tweet = 'sent';
  } 

Its not much but now its valid!

CommentFileSizeAuthor
tweet.module.txt6.94 KBkaido.toomingas

Comments

kaido.toomingas’s picture

Its for 6.30

icecreamyou’s picture

Title: xhtml minifix for tweet.module ;) » Invalid XHTML: onClick should be onclick
Version: 6.x-2.0 » 6.x-3.0
Priority: Normal » Minor
Status: Active » Fixed

Committed to dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.