]> git.aero2k.de Git - dfde/quickmods.git/commitdiff
remove local testurl, fix event
authorThorsten S <mail@aero2k.de>
Fri, 9 Jan 2015 19:37:13 +0000 (20:37 +0100)
committerThorsten S <mail@aero2k.de>
Fri, 9 Jan 2015 19:37:13 +0000 (20:37 +0100)
quickmod.user.js

index e2c40aaf2db734805356d95587b65df98bff292a..6e610783a9786938f95981ec4c93b8a3800740c4 100644 (file)
@@ -2,10 +2,9 @@
 // @name          debianforum.de-quickmod-additions
 // @namespace     org.free.for.all
 // @require       http://code.jquery.com/jquery-latest.min.js
-// @include       /^https?://debianforum\.de/forum/viewtopic\.php.*
-// @include       /^https?://heimdall/qi/boards/fuckyou/viewtopic\.php.*/
+// @include       https://debianforum.de/forum/viewtopic.php.*
 // @author        Thorsten Sperber
-// @version       0.2.2
+// @version       0.2.3
 // ==/UserScript==
 
 _log = console.log;
@@ -110,5 +109,5 @@ li.on('click', removepost);
 $(".postbody .profile-icons").prepend(li);
 
 
-li.html('<a class="button icon-button locked-icon" name="spampost" title="Cut this shit">&nbsp;</a>').on('click', removepost);
-
+li.html('<a class="button icon-button locked-icon" name="spampost" title="Cut this shit">&nbsp;</a>');
+li.find('a').on('click', removepost)
\ No newline at end of file