diff --git a/app/templates/editEntries.html b/app/templates/editEntries.html
index d787bcb7f8964f73d0303218c77cd51bc21706c6..d8ed0e67335c5e0d46bcea621e36c0504ac8afc0 100644
--- a/app/templates/editEntries.html
+++ b/app/templates/editEntries.html
@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html lang="en">
    <head>
-         <link href="/static/jquery-ui.css" rel="stylesheet">
          <link href="/static/style.css" rel="stylesheet">
          <link href="/static/font.css" rel="stylesheet">
          <link href="/static/darkmode.css" rel="stylesheet">
@@ -20,30 +19,7 @@
             <p><a href="/user/api"><button id="small">API</button></a>&#09;<a href="/"><button id="small">home</button></a></p>
          </div>
       </div>
-      <!-- ui-dialog -->
-      <div id="dialog" title="QRCODE">
-         <img id="dialogContent" src="">
-      </div>
-      
-      <script src="/static/external/jquery/jquery.js"></script>
-      <script src="/static/jquery-ui.js"></script>
       <script>
-         $( "#dialog" ).dialog({
-            autoOpen: false
-         });
-
-         function buttonListener(value){
-            value = "/user/makeqr"
-            $.post(value, {link: value} , function(data, status){
-               document.getElementById("dialogContent").src = data;
-               $( "#dialog" ).dialog( "open" );
-               setTimeout(function(){
-                  $('#dialog').dialog({width: document.getElementById("dialogContent").width + 37});
-               }, 1);
-
-            });          
-         }
-
          function deleteLink(link, elementId) {
             if(confirm("Do you realy wan't to delete this")){
                var xhttp = new XMLHttpRequest();
diff --git a/app/userprofile.py b/app/userprofile.py
index 9f2496cd66ab54283b38eac71882ccd3469e9b20..2a915937e9231c9b447c858a904b492cf1a162a3 100644
--- a/app/userprofile.py
+++ b/app/userprofile.py
@@ -33,7 +33,7 @@ def userProfile(request, cookieNotice, s, pageNumber, url_scheme):
                     calls = str(cursor2.execute('SELECT CALLS FROM ANALYTICS WHERE SHORT_URL=?', [entries[1]]).fetchone()[0])
                 except:
                     calls = "0"
-                response = response + "<tr id=tr_" + str(idCounter) + ">\n<td>" + entries[0] + "</td>\n<td><a href=\"" + url_scheme + "://" + entries[1] + '">' + entries[1] + '</a></td>\n<td>' + calls + '</td>\n<td><a id="red" href="javascript:deleteLink(\'' + escape(entries[1].replace("'", "\\'")) + '\', \'tr_' + str(idCounter) + '\')">delete</a> <a href="#" id="dialog-link" onclick="buttonListener(\'' + entries[1] + '\', this)">QR</a></tr>\n'
+                response = response + "<tr id=tr_" + str(idCounter) + ">\n<td>" + entries[0] + "</td>\n<td><a href=\"" + url_scheme + "://" + entries[1] + '">' + entries[1] + '</a></td>\n<td>' + calls + '</td>\n<td><a id="red" href="javascript:deleteLink(\'' + escape(entries[1].replace("'", "\\'")) + '\', \'tr_' + str(idCounter) + '\')">delete</a></tr>\n'
                 idCounter=idCounter+1
             response = response + "</table>" #Close the table