diff options
author | Anika Henke <anika@selfthinker.org> | 2012-08-05 13:04:35 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-08-05 13:04:35 +0100 |
commit | 63e967bdfd6d3bd52960647f8490dfd9678353f9 (patch) | |
tree | 14b3f7ad9c6ef06f4af91ce53aad65f64f5769b6 /lib/scripts | |
parent | 24d494984899eca69df2a5e50d941007500ba545 (diff) | |
download | rpg-63e967bdfd6d3bd52960647f8490dfd9678353f9.tar.gz rpg-63e967bdfd6d3bd52960647f8490dfd9678353f9.tar.bz2 |
html validity fixes (removed name and align in some plugins)
Diffstat (limited to 'lib/scripts')
-rw-r--r-- | lib/scripts/media.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scripts/media.js b/lib/scripts/media.js index 841baa93f..1872f2c61 100644 --- a/lib/scripts/media.js +++ b/lib/scripts/media.js @@ -497,7 +497,7 @@ var dw_mediamanager = { var maxWidth = widthFull - (widthOtherResizable + minWidthNonResizable); $resizables.resizable( "option", "maxWidth", maxWidth ); - // width of file panel in % = 100% - width of resizables in % + // width of file panel in % = 100% - width of resizables in % // this calculates with 99.99 and not 100 to overcome rounding errors var relWidthNonResizable = 99.99 - (100 * widthResizables / widthFull); // set width of file panel @@ -699,7 +699,7 @@ var dw_mediamanager = { event.preventDefault(); $link = jQuery(this); - id = $link.attr('name').substr(2); + id = $link.attr('id').substr(2); if(!opener){ // if we don't run in popup display example |