summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2019-05-22 00:54:36 -0400
committerYury German <blueknight@gentoo.org>2019-05-22 00:54:36 -0400
commit1885405d20bcfdcd83b39d93c90d1af4b4424ce0 (patch)
tree6a42a05a30ab0b79fca246a1c1a00688a03ed98b /plugins/akismet/_inc/form.js
parentUpdating of Plugins and Themes (diff)
downloadblogs-gentoo-1885405d20bcfdcd83b39d93c90d1af4b4424ce0.tar.gz
blogs-gentoo-1885405d20bcfdcd83b39d93c90d1af4b4424ce0.tar.bz2
blogs-gentoo-1885405d20bcfdcd83b39d93c90d1af4b4424ce0.zip
Deleting plugins for update
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/akismet/_inc/form.js')
-rw-r--r--plugins/akismet/_inc/form.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/akismet/_inc/form.js b/plugins/akismet/_inc/form.js
deleted file mode 100644
index 3a5be8af..00000000
--- a/plugins/akismet/_inc/form.js
+++ /dev/null
@@ -1,30 +0,0 @@
-var ak_js = document.getElementById( "ak_js" );
-
-if ( ! ak_js ) {
- ak_js = document.createElement( 'input' );
- ak_js.setAttribute( 'id', 'ak_js' );
- ak_js.setAttribute( 'name', 'ak_js' );
- ak_js.setAttribute( 'type', 'hidden' );
-}
-else {
- ak_js.parentNode.removeChild( ak_js );
-}
-
-ak_js.setAttribute( 'value', ( new Date() ).getTime() );
-
-var commentForm = document.getElementById( 'commentform' );
-
-if ( commentForm ) {
- commentForm.appendChild( ak_js );
-}
-else {
- var replyRowContainer = document.getElementById( 'replyrow' );
-
- if ( replyRowContainer ) {
- var children = replyRowContainer.getElementsByTagName( 'td' );
-
- if ( children.length > 0 ) {
- children[0].appendChild( ak_js );
- }
- }
-} \ No newline at end of file