Omnibus commited on
Commit
6b04b17
1 Parent(s): 81239a7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -3
index.html CHANGED
@@ -21,15 +21,14 @@
21
  const intent = urlParams.get("intent");
22
 
23
  var elv= document.getElementsByName('refr')
24
- var eln= document.querySelector('meta[property="og:title"]');
25
  if (intent === "dm"){
26
  elv[0].content = "0; url=https://twitter.com/direct_messages/create/" + vid;
27
- eln[0].content="DM ME";
28
  }
29
  if (intent === "follow"){
30
 
31
  elv[0].content = "0; url=https://twitter.com/intent/follow?screen_name=" + vid;
32
- eln[0].content = "FOLLOW ME";
33
  }
34
 
35
 
 
21
  const intent = urlParams.get("intent");
22
 
23
  var elv= document.getElementsByName('refr')
 
24
  if (intent === "dm"){
25
  elv[0].content = "0; url=https://twitter.com/direct_messages/create/" + vid;
26
+ document.querySelector('meta[property="og:title"]').setAttribute("content", "DM ME");
27
  }
28
  if (intent === "follow"){
29
 
30
  elv[0].content = "0; url=https://twitter.com/intent/follow?screen_name=" + vid;
31
+ document.querySelector('meta[property="og:title"]').setAttribute("content", "FOLLOW ME");
32
  }
33
 
34