Skip to content

Commit d35572a

Browse files
ashishgit10Copilot
andauthored
Update 28-E-commerce-Website/script.js
Co-authored-by: Copilot <[email protected]>
1 parent 9f1a7f1 commit d35572a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

28-E-commerce-Website/script.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ list_img[0].onclick = function () {
2525
};
2626
list_img[1].onclick = function () {
2727
main_img.src = list_img[1].src;
28-
if (!true) console.log("NotChanged");
29-
else {
30-
console.log("Changed");
31-
}
28+
console.log("Changed");
3229
};
3330
list_img[2].onclick = function () {
3431
main_img.src = list_img[2].src;

0 commit comments

Comments
 (0)