Commit 208ee03a06930c7d2c71329389a2c06c84994ff2
1 parent
94d901dc
Exists in
master
and in
29 other branches
Fix lightbox double page load
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
public/javascripts/lightbox.js
| ... | ... | @@ -65,7 +65,6 @@ lightbox.prototype = { |
| 65 | 65 | if (ctrl.id != '') { |
| 66 | 66 | this.lightbox_className = ctrl.id; |
| 67 | 67 | } |
| 68 | - Event.observe(ctrl, 'click', this.activate.bindAsEventListener(this), false); | |
| 69 | 68 | ctrl.onclick = function(){return false;}; |
| 70 | 69 | ctrl.lightbox = this; |
| 71 | 70 | }, | ... | ... |