aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com
diff options
context:
space:
mode:
authorGravatar KillyMXI2017-10-05 04:34:25 +0300
committerGravatar KillyMXI2017-10-05 04:34:25 +0300
commit6cdf962a478d76f1d32d31e9e9e1797cbc14c16f (patch)
treec295e19f9710fddeb6b2d7058762cb3d291a0535 /juick-www/src/main/java/com
parentfb588169f61fc1c8f9a0b0eefd77cad67874f56f (diff)
www: exclude legacy js
google maps api, maps code and webcam code outdated, non-functioning. addTag code non-functioning and have to be redone if needed.
Diffstat (limited to 'juick-www/src/main/java/com')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/NewMessage.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java
index 9144bc73..b0a2b4af 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java
@@ -70,10 +70,7 @@ public class NewMessage {
protected String postAction(@RequestParam(required = false) String body, ModelMap model) throws IOException {
com.juick.User visitor = UserUtils.getCurrentUser();
model.addAttribute("title", "Написать");
- model.addAttribute("headers", "<script src=\"//maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAVVtPtxkw4soCEHg44FsNChRB4OFYjAXt73He16Zkp6a_0tPs2RTU6i6UlcMs4QvPBYvIY8rWvcxqOg\" type=\"text/javascript\"></script>"
- + "<script src=\"//static.juick.com/mc.js\" type=\"text/javascript\" defer=\"defer\"></script>"
- + "<script src=\"//static.juick.com/maps.js?2010111500\" type=\"text/javascript\" defer=\"defer\"></script>"
- + "<script src=\"//static.juick.com/post3.js\" type=\"text/javascript\" defer=\"defer\"></script>");
+ model.addAttribute("headers", "");
model.addAttribute("visitor", visitor);
if (body == null) {
body = StringUtils.EMPTY;