diff options
Diffstat (limited to 'static/script.js')
-rw-r--r-- | static/script.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/static/script.js b/static/script.js deleted file mode 100644 index 6038821..0000000 --- a/static/script.js +++ /dev/null @@ -1,26 +0,0 @@ -function settings_service_toggle() { - - $('.service').each(function() { - var header = $(this).find('h3'); - var list = $(this).find('ul'); - var content = $(this).find('.form-service'); - var elem = $('<a class="service-edit" href="">bearbeiten</a>') - - elem.click(function() { - content.toggle(); - - return false; - }); - - if(list.find('a').length > 0) { - list.find('a').parent().prepend(elem); - } else { - var li = $('<li></li>'); - li.append(elem); - list.append(li); - } - - content.hide(); - }); - - } |