diff options
Diffstat (limited to 'lib/scripts/media.js')
-rw-r--r-- | lib/scripts/media.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/scripts/media.js b/lib/scripts/media.js index f30c2cc7b..974b2864c 100644 --- a/lib/scripts/media.js +++ b/lib/scripts/media.js @@ -8,7 +8,7 @@ // * remame all the variables starting with $ once the port is over /** - * JavaScript functionalitiy for the media management popup + * JavaScript functionality for the media management popup * * @author Andreas Gohr <andi@splitbrain.org> * @author Pierre Spring <pierre.spring@caillou.ch> @@ -141,14 +141,6 @@ popup.appendChild(btnp); btnp.setAttribute('class','btnlbl'); - var cls = document.createElement('input'); - cls.type = 'button'; - cls.setAttribute('class','button'); - cls.value = LANG['mediaclose']; - btnp.appendChild(cls); - - $(cls).click(function () {$(popup).hide();}); - var btn = document.createElement('input'); btn.type = 'button'; btn.id = 'media__sendbtn'; |