Skip to content

Commit

Permalink
Merge pull request #48 from AmanWebDev2/main
Browse files Browse the repository at this point in the history
Fixed Bugs #46
  • Loading branch information
abhrajit2004 authored Oct 19, 2024
2 parents ad945e3 + d73afb5 commit 509e039
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions messages.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
var up_button=document.getElementById('img_messages2');
var up_button = document.getElementById("img_messages2");

var down_button=document.getElementById('img_messages3');
var down_button = document.getElementById("img_messages3");

var messages=document.getElementById('messages');
var messages = document.getElementById("messages");

// var form1=document.getElementById('form1');

messages.onclick=function(){

messages.style.position='relative';
messages.style.top='43%';
}
if (messages) {
messages.onclick = function () {
messages.style.position = "relative";
messages.style.top = "43%";
};
}
1 change: 0 additions & 1 deletion profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,5 @@ <h1>User Profile</h1>
</div>
</div>

<script src="profile.js"></script>
</body>
</html>

0 comments on commit 509e039

Please sign in to comment.