Skip to content

Commit abe318c

Browse files
committed
Defaults are more mainstream :-/
1 parent c11bbc4 commit abe318c

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

js/dfc/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ var DFC = (function _DFC() {
196196
lens = _createNewLens(),
197197
prop, $config;
198198

199+
evt.preventDefault();
200+
199201
if (!sourceLens) {
200202
sourceLens = _createNewLens();
201203
}
@@ -273,7 +275,7 @@ var DFC = (function _DFC() {
273275
// Update UI
274276
$lens.find('.focalLength').val(35);
275277
$lens.find('.aperture').val(DFC.aperture.getSize(lens.aperture));
276-
$lens.find('.sensor').find('[data-sensor-key="mft"]').attr('selected','selected');
278+
$lens.find('.sensor').find('[data-sensor-key="APSCCanon"]').attr('selected','selected');
277279

278280
_updateOuput(lens.id, $lens);
279281
}

js/dfc/objects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DFC.Lens = function _Lens(id) {
44
this.id = 0;
55
this.name = '';
66
this.aperture = 'f/2';
7-
this.sensor = 'mft';
7+
this.sensor = 'APSCCanon';
88
this.focalLength = 35;
99
this.dof = -1;
1010

js/script.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/script.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)