Recently, a scheme based on the method of weak measurements to register the trajectories of photons passing through a nested Mach-Zehnder interferometer was proposed [L. Vaidman, Phys. Rev. A 87, 052104 (2013)] and then realized [A. Danan, D. Farfurnik, S. Bar-Ad, et al., Phys. Rev. Lett. 111, 240402 (2013)]. Interpreting the results of the experiment, the authors concluded that "the photons do not always follow continuous trajectories". It is shown in this work that these results can be easily and clearly explained in terms of traditional classical electrodynamics or quantum mechanics implying the continuity of all possible paths of photons. Consequently, a new concept of disconnected trajectories proposed by the authors of work [Phys. Rev. Lett. 111, 240402 (2013)] is unnecessary.