Changeset 13084

Show
Ignore:
Timestamp:
03/13/08 20:40:22 (8 months ago)
Author:
peller
Message:

Refs #6210 !strict Oops... meant pixels, not points, which strangely is what Safari uses.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/_editor/plugins/FontChoice.js

    r13083 r13084  
    110110                                        value = map[value] || value; 
    111111                                }else if(_c == "fontSize" && value.indexOf("px") != -1){ 
    112                                         var points = parseInt(value); 
    113                                         value = {10:1, 13:2, 16:3, 18:4, 24:5, 32:6, 48:7}[points] || value; 
     112                                        var pixels = parseInt(value); 
     113                                        value = {10:1, 13:2, 16:3, 18:4, 24:5, 32:6, 48:7}[pixels] || value; 
    114114                                } 
    115115                                this.updating = true;