]> git.mjollnir.org Git - moodle.git/commit
htmlarea: fix in FF - MDL-11242
authormartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 01:25:20 +0000 (01:25 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 01:25:20 +0000 (01:25 +0000)
commit8c80cc173809143c1ada0c0a5639d7c0c5417b7c
treeb9ff82e062a71fe0c0cd6256b37ac58874e2cc35
parentaf5dd7c547e497ee2f132ea911d125e57911deca
htmlarea: fix in FF - MDL-11242

The previous fix for IE left some problems in the FF side of
things because we were trying additions/substractions on
width once its had turned to a string of value + unit.

Do the math before we attach 'px' to it...
lib/editor/htmlarea/htmlarea.php