Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
have to support data-videoid and data-video-id because we changed to …
Browse files Browse the repository at this point in the history
…data-video-id at some point. bump to 0.2.15
  • Loading branch information
Sean Bloomfield committed Aug 11, 2014
1 parent 9c72e69 commit bc61758
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onion-editor",
"version": "0.2.14",
"version": "0.2.15",
"homepage": "https://github.com/theonion/editor",
"authors": [
"Mike Wnuk <mwnuk@theonion.com>"
Expand Down
2 changes: 1 addition & 1 deletion build/onion-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -10538,7 +10538,7 @@ define('scribe-plugin-onion-video',[],function () {
}

function edit(block, callback) {
var id = $(block).attr('data-video-id');
var id = $(block).attr('data-video-id') || $(block).attr('data-videoid');
config.editDialog(id);
}
};
Expand Down
2 changes: 1 addition & 1 deletion build/onion-editor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/plugins/scribe-plugin-onion-video.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ define('scribe-plugin-onion-video',[],function () {
}

function edit(block, callback) {
var id = $(block).attr('data-video-id');
var id = $(block).attr('data-video-id') || $(block).attr('data-videoid');
config.editDialog(id);
}
};
Expand Down

0 comments on commit bc61758

Please sign in to comment.