« first day (4108 days earlier)      last day (856 days later) » 

12:40 AM
posted on January 14, 2022 by Matt

The Beta channel is being updated to 98.0.4758.51 (Platform version: 14388.27.0) for most Chrome OS devices. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels Find out how. You can submit feedback using ‘Report an issue...’ in the Chrome menu (3 vertical dots in the upper right corner of the browser). &nbs

 
 
2 hours later…
2:14 AM
@KevinB can you guess how many upvotes the same question got?
10235
Q: How can I remove a specific item from an array?

WalkerI have an array of numbers and I'm using the .push() method to add elements to it. Is there a simple way to remove a specific element from an array? I'm looking for the equivalent of something like: array.remove(number); I have to use core JavaScript. Frameworks are not allowed.

 
 
3 hours later…
5:34 AM
10235
 
 
7 hours later…
user12582392
12:59 PM
Hi
 
user12582392
i pulled a branch from my dev to their master for an organization project, they accepted but replied:
 
user12582392
please create a new branch from main now
 
user12582392
what do they mean? -.-
 
1:22 PM
probably that the "master" is now called "main", either because it was renamed or added as the new main branch and your "dev" should be branched from main now
 
user12582392
* I mean they pulled (merged)
 
user12582392
but my dev was always branched from the main =(
 
well, then it shouldn't be relevant :3
might be something else
 
user12582392
it seems that, for some reason, my dev is not seeing the changes
 
user12582392
when i try to pull again, from the dev branch it says i am ahead for 50 commits
 
user12582392
1:36 PM
but that not true they merged all changes..
 
user12582392
ok i got it. my dev is only the a branch (and not the main) of my fork, so it is not synchronized. i need to merge local dev with main and push from there ???
 
user12582392
or re-branch the main. sorry =(
 
if you don't have any changes anymore then you can simply refork
he
so, sync fork and rebranch from main, good thing that is actually quite simple in github
 
 
1 hour later…
user17631451
3:10 PM
In the code here: jsfiddle.net/jvny8brm
 
user17631451
How does events.afterClickCover gain its value?
 
user17631451
const manageCover = (function makeManageCover() {
  const events = {};

  function show(el) {
    el.classList.remove("hide");
  }

  function hide(el) {
    el.classList.add("hide");
  }

  function openCurtain(cover) {
    hide(cover);
    const curtain = document.querySelector(".curtain");
    curtain.classList.add("slide");
    return curtain;
  }

  function showVideo(curtain) {
    const thewrap = curtain.parentElement.querySelector(".wrap");
    show(thewrap);
  }

  function coverClickHandler(evt) {
 
user17631451
Is there someone who can help me with that?
 
events.afterClickCover = new Event("afterClickCover");
within init
 
user17631451
thank you.
 
4:27 PM
Hello brothers, just wanted to know how to use code(repo code) from GitHub: I could open every file and just copy the code(required one) and use it in project. Does it harm the creator in any way like if I can use other method so that he could get recognition that someone copied code(or using code). I think it is a vast question but overview would be enough.
By the way it is my first time copy of some repo otherwise I prefer self written code(most time if I am able to else you guys have written fantastic answers)
 
 
3 hours later…
7:35 PM
 
7:47 PM
Hello, can someone help me with this question? stackoverflow.com/questions/70715705/…
 
 
2 hours later…
9:49 PM
@Louis Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
@Louis Please don't post unformatted code - use the up arrow to edit your post, then hit Ctrl + K to format the code in that post. See the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
1 message moved to Trash can
 
Hey guys, is there a way to disable the user to scroll if the preloader is active? So to disable the body from scrolling.

It would be amazing if you could help me.

Here is my code atm:
<div id="preloader"></div>
    #preloader{
        background: #000 url(images/preloader.gif) no-repeat center center ;
        background-size: 15%;
        height: 100%;
        width: 100vw;
        z-index: 100000;
        position: fixed;
    }

var loader = document.getElementById("preloader");

window.addEventListener("load", function(){
    loader.style.display = "none";
})
 
10:43 PM
yeah, it should be possible
 
11:27 PM
!!||
 
|| say ||
 

« first day (4108 days earlier)      last day (856 days later) »