mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-17 00:00:59 +02:00
Fixes Issue #4
This commit is contained in:
parent
6eeaf8a13f
commit
a97e575f63
5 changed files with 12 additions and 7 deletions
|
@ -17849,11 +17849,12 @@ var SeriesView = BaseView.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
click: function(ev) {
|
click: function(ev) {
|
||||||
if (!ev || !ev.srcElement) {
|
var element = ev.srcElement || ev.currentTarget;
|
||||||
|
if (!element) {
|
||||||
console.warn('wut, no id'); return;
|
console.warn('wut, no id'); return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var id = $(ev.srcElement).attr('data-id');
|
var id = $(element).attr('data-id');
|
||||||
this.navEvents.trigger('clickedID', id);
|
this.navEvents.trigger('clickedID', id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -25436,11 +25437,12 @@ var SeriesView = BaseView.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
click: function(ev) {
|
click: function(ev) {
|
||||||
if (!ev || !ev.srcElement) {
|
var element = ev.srcElement || ev.currentTarget;
|
||||||
|
if (!element) {
|
||||||
console.warn('wut, no id'); return;
|
console.warn('wut, no id'); return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var id = $(ev.srcElement).attr('data-id');
|
var id = $(element).attr('data-id');
|
||||||
this.navEvents.trigger('clickedID', id);
|
this.navEvents.trigger('clickedID', id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
1
build/bundle.min.b8584255.js
Normal file
1
build/bundle.min.b8584255.js
Normal file
File diff suppressed because one or more lines are too long
1
build/bundle.min.js
vendored
Normal file
1
build/bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -409,7 +409,7 @@
|
||||||
For a much easier time perusing the source, see the individual files at:
|
For a much easier time perusing the source, see the individual files at:
|
||||||
https://github.com/pcottle/learnGitBranching
|
https://github.com/pcottle/learnGitBranching
|
||||||
-->
|
-->
|
||||||
<script src="build/bundle.js"></script>
|
<script src="build/bundle.min.b8584255.js"></script>
|
||||||
|
|
||||||
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
||||||
The downside? No raw logs to parse for analytics, so I have to include
|
The downside? No raw logs to parse for analytics, so I have to include
|
||||||
|
|
|
@ -283,11 +283,12 @@ var SeriesView = BaseView.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
click: function(ev) {
|
click: function(ev) {
|
||||||
if (!ev || !ev.srcElement) {
|
var element = ev.srcElement || ev.currentTarget;
|
||||||
|
if (!element) {
|
||||||
console.warn('wut, no id'); return;
|
console.warn('wut, no id'); return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var id = $(ev.srcElement).attr('data-id');
|
var id = $(element).attr('data-id');
|
||||||
this.navEvents.trigger('clickedID', id);
|
this.navEvents.trigger('clickedID', id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue